(sparc_dwarf2_frame_init_reg): Use it to determine if the function
returns a structure and thus we have to indicate the return PC and
NPC are 4 bytes later than usual.
+ * sparc-linux-tdep.c (sparc32_linux_init_abi): Append
+ dwarf2 frame sniffer.
+ * Makefile.in (sparc-linux-tdep.o): Update dependencies.
2006-04-04 David S. Miller <davem@davemloft.net>
sparc-linux-nat.o: sparc-linux-nat.c $(defs_h) $(regcache_h) $(gregset_h) \
$(sparc_tdep_h) $(sparc_nat_h) $(inferior_h) $(target_h) \
$(linux_nat_h)
-sparc-linux-tdep.o: sparc-linux-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \
- $(frame_unwind_h) $(gdbarch_h) $(gdbcore_h) $(osabi_h) $(regcache_h) \
- $(solib_svr4_h) $(symtab_h) $(trad_frame_h) $(tramp_frame_h) \
- $(sparc_tdep_h)
+sparc-linux-tdep.o: sparc-linux-tdep.c $(defs_h) $(dwarf2_frame_h) \
+ $(floatformat_h) $(frame_h) $(frame_unwind_h) $(gdbarch_h) \
+ $(gdbcore_h) $(osabi_h) $(regcache_h) $(solib_svr4_h) $(symtab_h) \
+ $(trad_frame_h) $(tramp_frame_h) $(sparc_tdep_h)
sparc-nat.o: sparc-nat.c $(defs_h) $(inferior_h) $(regcache_h) $(target_h) \
$(gdb_assert_h) $(gdb_string_h) $(gdb_wait_h) $(sparc_tdep_h) \
$(sparc_nat_h) $(inf_ptrace_h)
$(sparc_tdep_h) $(solib_svr4_h)
sparc-stub.o: sparc-stub.c
sparc-tdep.o: sparc-tdep.c $(defs_h) $(arch_utils_h) $(dis_asm_h) \
- $(floatformat_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \
- $(gdbcore_h) $(gdbtypes_h) $(inferior_h) $(symtab_h) $(objfiles_h) \
- $(osabi_h) $(regcache_h) $(target_h) $(value_h) $(gdb_assert_h) \
- $(gdb_string_h) $(sparc_tdep_h)
+ $(dwarf2_frame_h) $(floatformat_h) $(frame_h) $(frame_base_h) \
+ $(frame_unwind_h) $(gdbcore_h) $(gdbtypes_h) $(inferior_h) \
+ $(symtab_h) $(objfiles_h) $(osabi_h) $(regcache_h) $(target_h) \
+ $(value_h) $(gdb_assert_h) $(gdb_string_h) $(sparc_tdep_h)
stabsread.o: stabsread.c $(defs_h) $(gdb_string_h) $(bfd_h) $(gdb_obstack_h) \
$(symtab_h) $(gdbtypes_h) $(expression_h) $(symfile_h) $(objfiles_h) \
$(aout_stab_gnu_h) $(libaout_h) $(aout_aout64_h) $(gdb_stabs_h) \
Boston, MA 02110-1301, USA. */
#include "defs.h"
+#include "dwarf2-frame.h"
#include "floatformat.h"
#include "frame.h"
#include "frame-unwind.h"
/* Enable TLS support. */
set_gdbarch_fetch_tls_load_module_address (gdbarch,
svr4_fetch_objfile_link_map);
+
+ /* Hook in the DWARF CFI frame unwinder. */
+ frame_unwind_append_sniffer (gdbarch, dwarf2_frame_sniffer);
}
/* Provide a prototype to silence -Wmissing-prototypes. */