diff options
author | David S. Miller <davem@redhat.com> | 2006-04-05 20:27:08 +0000 |
---|---|---|
committer | David S. Miller <davem@redhat.com> | 2006-04-05 20:27:08 +0000 |
commit | faea95b19b801d56b2613869cf5fe70c872ad1b7 (patch) | |
tree | 8a15b70854c330e8422bc775a6f744377ee24e44 /gdb/sparc-linux-tdep.c | |
parent | * dwarf2-frame.c (dwarf2_frame_ops init_reg): Add "next_frame" (diff) | |
download | binutils-gdb-faea95b19b801d56b2613869cf5fe70c872ad1b7.tar.gz binutils-gdb-faea95b19b801d56b2613869cf5fe70c872ad1b7.tar.bz2 binutils-gdb-faea95b19b801d56b2613869cf5fe70c872ad1b7.zip |
* sparc-linux-tdep.c (sparc32_linux_init_abi): Append
dwarf2 frame sniffer.
* Makefile.in (sparc-linux-tdep.o): Update dependencies.
Diffstat (limited to 'gdb/sparc-linux-tdep.c')
-rw-r--r-- | gdb/sparc-linux-tdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/sparc-linux-tdep.c b/gdb/sparc-linux-tdep.c index 328889b4c8e..ef7f3700212 100644 --- a/gdb/sparc-linux-tdep.c +++ b/gdb/sparc-linux-tdep.c @@ -20,6 +20,7 @@ Boston, MA 02110-1301, USA. */ #include "defs.h" +#include "dwarf2-frame.h" #include "floatformat.h" #include "frame.h" #include "frame-unwind.h" @@ -150,6 +151,9 @@ sparc32_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) /* 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. */ |