aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-05-14 17:23:54 +0000
committerDaniel Jacobowitz <drow@false.org>2007-05-14 17:23:54 +0000
commit2bd0c3d7a728231bd6a21b25e5c18034159dcb61 (patch)
treee6de59a6f9627bce060c9686dabc87af4d8cb648
parent14d0675011b16e24eb46c557d59f281384751dcb (diff)
downloadgdb-2bd0c3d7a728231bd6a21b25e5c18034159dcb61.zip
gdb-2bd0c3d7a728231bd6a21b25e5c18034159dcb61.tar.gz
gdb-2bd0c3d7a728231bd6a21b25e5c18034159dcb61.tar.bz2
* Makefile.in (mips-tdep.o): Update.
* mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI unwinder.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in3
-rw-r--r--gdb/mips-tdep.c3
3 files changed, 11 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7905815..0394552 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
+ * Makefile.in (mips-tdep.o): Update.
+ * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI
+ unwinder.
+
+2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
+
* dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long
instead of store_typed_address.
* value.c (pack_long): New.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 336396d..7574f0b 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -2360,7 +2360,8 @@ mips-tdep.o: mips-tdep.c $(defs_h) $(gdb_string_h) $(gdb_assert_h) \
$(block_h) $(reggroups_h) $(opcode_mips_h) $(elf_mips_h) \
$(elf_bfd_h) $(symcat_h) $(sim_regno_h) $(dis_asm_h) \
$(frame_unwind_h) $(frame_base_h) $(trad_frame_h) $(infcall_h) \
- $(floatformat_h) $(remote_h) $(target_descriptions_h)
+ $(floatformat_h) $(remote_h) $(target_descriptions_h) \
+ $(dwarf2_frame_h)
memory-map.o: memory-map.c $(defs_h) $(memory_map_h) $(xml_support_h) \
$(gdb_assert_h) $(exceptions_h) $(gdb_string_h)
mn10300-linux-tdep.o: mn10300-linux-tdep.c $(defs_h) $(gdbcore_h) \
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 759c21f..490ad10 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -57,6 +57,7 @@
#include "floatformat.h"
#include "remote.h"
#include "target-descriptions.h"
+#include "dwarf2-frame.h"
static const struct objfile_data *mips_pdr_data;
@@ -5171,9 +5172,11 @@ mips_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
gdbarch_init_osabi (info, gdbarch);
/* Unwind the frame. */
+ frame_unwind_append_sniffer (gdbarch, dwarf2_frame_sniffer);
frame_unwind_append_sniffer (gdbarch, mips_stub_frame_sniffer);
frame_unwind_append_sniffer (gdbarch, mips_insn16_frame_sniffer);
frame_unwind_append_sniffer (gdbarch, mips_insn32_frame_sniffer);
+ frame_base_append_sniffer (gdbarch, dwarf2_frame_base_sniffer);
frame_base_append_sniffer (gdbarch, mips_stub_frame_base_sniffer);
frame_base_append_sniffer (gdbarch, mips_insn16_frame_base_sniffer);
frame_base_append_sniffer (gdbarch, mips_insn32_frame_base_sniffer);