public inbox for
help / color / mirror / Atom feed
* [binutils-gdb] Add PowerPC support to gdb.cp/
@ 2022-07-13 15:25 Carl Love
  0 siblings, 0 replies; only message in thread
From: Carl Love @ 2022-07-13 15:25 UTC (permalink / raw)
  To: gdb-cvs;h=485caa08c024a1bc7e096819080c1e8214d5b960

commit 485caa08c024a1bc7e096819080c1e8214d5b960
Author: Carl Love <>
Date:   Wed Jul 13 15:24:17 2022 +0000

    Add PowerPC support to gdb.cp/
    This patch adds the needed define ASM_REG for PowerPC.
    The patch was run on a Power 10 system.  The gdb Summary for the run lists
    2 expected passes, no unexpected failures or untested testcases.
    Please let me know if this patch is acceptable for mainline.
                             Carl Love

 gdb/testsuite/gdb.cp/ | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gdb/testsuite/gdb.cp/ b/gdb/testsuite/gdb.cp/
index 06e9e53f988..d60fee03701 100644
--- a/gdb/testsuite/gdb.cp/
+++ b/gdb/testsuite/gdb.cp/
@@ -19,6 +19,8 @@
 # define ASM_REG "rax"
 #elif defined __i386__
 # define ASM_REG "eax"
+#elif defined __powerpc64__
+# define ASM_REG "r9"
 # error "port me"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-13 15:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-13 15:25 [binutils-gdb] Add PowerPC support to gdb.cp/ Carl Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).