From 2bd0c3d7a728231bd6a21b25e5c18034159dcb61 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 14 May 2007 17:23:54 +0000 Subject: * Makefile.in (mips-tdep.o): Update. * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI unwinder. --- gdb/mips-tdep.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/mips-tdep.c') 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); -- cgit v1.1