diff options
author | Andreas Schwab <schwab@suse.de> | 2003-09-25 09:10:30 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2003-09-25 09:10:30 +0000 |
commit | 4f864af71940d22009b002ef1acc1adaebf0bdb3 (patch) | |
tree | e9681dbdafb6a533cce6c120554e0c679276638e /gdb/m68k-tdep.c | |
parent | 6f4a3c3e487378704576429168b8767d85e65e31 (diff) | |
download | gdb-4f864af71940d22009b002ef1acc1adaebf0bdb3.tar.gz |
* 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 72c3b86334e..e5b41a9a32e 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. */ |