Module Name:    src
Committed By:   rin
Date:           Sun Jun 26 05:52:44 UTC 2022

Modified Files:
        src/external/gpl3/gdb/dist/gdb: ppc-nbsd-tdep.c

Log Message:
PR port-powerpc/56899

In addition to ``powerpc'', register NetBSD OS ABI also for ``rs6000'',
which is default target for powerpc.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gdb/dist/gdb/ppc-nbsd-tdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gdb/dist/gdb/ppc-nbsd-tdep.c
diff -u src/external/gpl3/gdb/dist/gdb/ppc-nbsd-tdep.c:1.7 src/external/gpl3/gdb/dist/gdb/ppc-nbsd-tdep.c:1.8
--- src/external/gpl3/gdb/dist/gdb/ppc-nbsd-tdep.c:1.7	Sun Dec  6 14:26:40 2020
+++ src/external/gpl3/gdb/dist/gdb/ppc-nbsd-tdep.c	Sun Jun 26 05:52:43 2022
@@ -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.  */

Reply via email to