diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2003-09-25 09:10:30 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2003-09-25 09:10:30 +0000 |
commit | 3f244638cfe4bedd1ca9b4f5fcbbe26f4b7833b7 (patch) | |
tree | 409c2f5cc39071401567e6ba50b5cefa0c3a3a09 /gdb/m68k-tdep.c | |
parent | 1c0159e090d804f2a9d2203a1c6d9edca1eb758b (diff) | |
download | gdb-3f244638cfe4bedd1ca9b4f5fcbbe26f4b7833b7.zip gdb-3f244638cfe4bedd1ca9b4f5fcbbe26f4b7833b7.tar.gz gdb-3f244638cfe4bedd1ca9b4f5fcbbe26f4b7833b7.tar.bz2 |
* m68k-tdep.c: Include "dwarf2-frame.h".
(m68k_gdbarch_init): Add the DWARF CFI frame unwinder.
* Makefile.in (m68k-tdep.o): Update dependencies.
Diffstat (limited to 'gdb/m68k-tdep.c')
-rw-r--r-- | gdb/m68k-tdep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c index 72c3b86..e5b41a9 100644 --- a/gdb/m68k-tdep.c +++ b/gdb/m68k-tdep.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ #include "defs.h" +#include "dwarf2-frame.h" #include "frame.h" #include "frame-base.h" #include "frame-unwind.h" @@ -1153,6 +1154,10 @@ m68k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* Frame unwinder. */ set_gdbarch_unwind_dummy_id (gdbarch, m68k_unwind_dummy_id); set_gdbarch_unwind_pc (gdbarch, m68k_unwind_pc); + + /* Hook in the DWARF CFI frame unwinder. */ + frame_unwind_append_sniffer (gdbarch, dwarf2_frame_sniffer); + frame_base_set_default (gdbarch, &m68k_frame_base); /* Hook in ABI-specific overrides, if they have been registered. */ |