2003-10-29 Andrew Cagney * ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Instead of the default PPC machine, register 32-bit and 64-bit PPC, and rs6k. Index: ppc-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/ppc-linux-tdep.c,v retrieving revision 1.45 diff -u -r1.45 ppc-linux-tdep.c --- ppc-linux-tdep.c 24 Oct 2003 20:24:06 -0000 1.45 +++ ppc-linux-tdep.c 29 Oct 2003 19:21:33 -0000 @@ -1083,7 +1083,13 @@ void _initialize_ppc_linux_tdep (void) { - gdbarch_register_osabi (bfd_arch_powerpc, 0, GDB_OSABI_LINUX, - ppc_linux_init_abi); + /* Register for all sub-familes of the POWER/PowerPC: 32-bit and + 64-bit PowerPC, and the older rs6k. */ + gdbarch_register_osabi (bfd_arch_powerpc, bfd_mach_ppc, GDB_OSABI_LINUX, + ppc_linux_init_abi); + gdbarch_register_osabi (bfd_arch_powerpc, bfd_mach_ppc64, GDB_OSABI_LINUX, + ppc_linux_init_abi); + gdbarch_register_osabi (bfd_arch_rs6000, bfd_mach_rs6k, GDB_OSABI_LINUX, + ppc_linux_init_abi); add_core_fns (&ppc_linux_regset_core_fns); }