diff options
Diffstat (limited to 'gdb/sparc-obsd-tdep.c')
-rw-r--r-- | gdb/sparc-obsd-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sparc-obsd-tdep.c b/gdb/sparc-obsd-tdep.c index 21c8d6a..cbf11c9 100644 --- a/gdb/sparc-obsd-tdep.c +++ b/gdb/sparc-obsd-tdep.c @@ -235,7 +235,7 @@ static void sparc32obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { /* OpenBSD/sparc is very similar to NetBSD/sparc ELF. */ - sparc32nbsd_elf_init_abi (info, gdbarch); + sparc32nbsd_init_abi (info, gdbarch); set_gdbarch_skip_solib_resolver (gdbarch, obsd_skip_solib_resolver); @@ -253,6 +253,6 @@ void _initialize_sparc32obsd_tdep (void); void _initialize_sparc32obsd_tdep (void) { - gdbarch_register_osabi (bfd_arch_sparc, 0, GDB_OSABI_OPENBSD_ELF, + gdbarch_register_osabi (bfd_arch_sparc, 0, GDB_OSABI_OPENBSD, sparc32obsd_init_abi); } |