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 | 8d610621897a1f65a624e1a44b36e397af7c0f32 (patch) | |
tree | 36e04062828e465c647d7d9e6b324506abe0e4c6 /gdb/sparc-linux-tdep.c | |
parent | 88ca90b9343548da1e597f572b1a5154a63561e4 (diff) | |
download | gdb-8d610621897a1f65a624e1a44b36e397af7c0f32.tar.gz |
* 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. */ |