aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2006-04-09 08:22:43 +0000
committerDavid S. Miller <davem@redhat.com>2006-04-09 08:22:43 +0000
commitb2a0b9b2f6b8aa65d0b9dec5102ed66d64073d1c (patch)
treee43f43afa8e758d18b701b2eea41350d03e44296 /gdb/sparc-tdep.c
parentee1b3323e66265153132e886875197c10294ff32 (diff)
downloadgdb-b2a0b9b2f6b8aa65d0b9dec5102ed66d64073d1c.zip
gdb-b2a0b9b2f6b8aa65d0b9dec5102ed66d64073d1c.tar.gz
gdb-b2a0b9b2f6b8aa65d0b9dec5102ed66d64073d1c.tar.bz2
* sparc64-linux-tdep.c (sparc64_linux_init_abi): Append dwarf2
frame sniffer. * sparc-tdep.c (sparc32_gdbarch_init): Make sure to call dwarf2_frame_set_init_reg() before gdbarch_init_osabi() so that the latter can override. * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index e3b1ccf..77169a7 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -1296,14 +1296,14 @@ sparc32_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
frame_base_set_default (gdbarch, &sparc32_frame_base);
- /* Hook in ABI-specific overrides, if they have been registered. */
- gdbarch_init_osabi (info, gdbarch);
-
/* Hook in the DWARF CFI frame unwinder. */
dwarf2_frame_set_init_reg (gdbarch, sparc32_dwarf2_frame_init_reg);
/* FIXME: kettenis/20050423: Don't enable the unwinder until the
StackGhost issues have been resolved. */
+ /* Hook in ABI-specific overrides, if they have been registered. */
+ gdbarch_init_osabi (info, gdbarch);
+
frame_unwind_append_sniffer (gdbarch, sparc32_frame_sniffer);
/* If we have register sets, enable the generic core file support. */