X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fshnbsd-tdep.c;h=02982267ba2bb695f21b590c726eeea53a2d4df9;hb=0d62e5e8077eecf77e9b7b5dc0d2689d051a3ab3;hp=7ac04892bc20b5203fc7e1b3b5c0416edb9e3ce9;hpb=ab3b81262e3164b572fc8eada737809cc09c92f8;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/shnbsd-tdep.c b/gdb/shnbsd-tdep.c index 7ac04892bc..02982267ba 100644 --- a/gdb/shnbsd-tdep.c +++ b/gdb/shnbsd-tdep.c @@ -24,6 +24,8 @@ #include "regcache.h" #include "value.h" +#include "solib-svr4.h" + #include "nbsd-tdep.h" #include "sh-tdep.h" #include "shnbsd-tdep.h" @@ -177,5 +179,5 @@ _initialize_shnbsd_tdep (void) add_core_fns (&shnbsd_core_fns); add_core_fns (&shnbsd_elfcore_fns); - sh_gdbarch_register_os_abi (SH_OSABI_NETBSD_ELF, shnbsd_init_abi); + gdbarch_register_osabi (bfd_arch_sh, GDB_OSABI_NETBSD_ELF, shnbsd_init_abi); }