PR port-powerpc/56899

In addition to ``powerpc'', register NetBSD OS ABI also for ``rs6000'',
which is default target for powerpc.
This commit is contained in:
rin 2022-06-26 05:52:43 +00:00
parent 5900762b3f
commit 85b2a9ecdc
1 changed files with 2 additions and 0 deletions

View File

@ -198,6 +198,8 @@ _initialize_ppcnbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_powerpc, 0, GDB_OSABI_NETBSD,
ppcnbsd_init_abi);
gdbarch_register_osabi (bfd_arch_rs6000, 0, GDB_OSABI_NETBSD,
ppcnbsd_init_abi);
/* Avoid initializing the register offsets again if they were
already initialized by ppcnbsd-nat.c. */