Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb PR port-powerpc/56899



details:   https://anonhg.NetBSD.org/src/rev/adfc6bbeabe1
branches:  trunk
changeset: 368153:adfc6bbeabe1
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Jun 26 05:52:43 2022 +0000

description:
PR port-powerpc/56899

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

diffstat:

 external/gpl3/gdb/dist/gdb/ppc-nbsd-tdep.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 3d6b1c32c171 -r adfc6bbeabe1 external/gpl3/gdb/dist/gdb/ppc-nbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/ppc-nbsd-tdep.c        Sun Jun 26 05:48:06 2022 +0000
+++ b/external/gpl3/gdb/dist/gdb/ppc-nbsd-tdep.c        Sun Jun 26 05:52:43 2022 +0000
@@ -198,6 +198,8 @@
 {
   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.  */



Home | Main Index | Thread Index | Old Index