projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43127ae
)
Add PowerPC support to gdb.cp/call-method-register.cc
author
Carl Love
<cel@us.ibm.com>
Wed, 13 Jul 2022 15:24:17 +0000
(15:24 +0000)
committer
Carl Love
<cel@us.ibm.com>
Wed, 13 Jul 2022 15:24:17 +0000
(15:24 +0000)
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/call-method-register.cc
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.cp/call-method-register.cc
b/gdb/testsuite/gdb.cp/call-method-register.cc
index 06e9e53f988cb2753577bfd12212091f6c5b7a02..d60fee037017e96e998c2cab2b941c060efb50b5 100644
(file)
--- a/
gdb/testsuite/gdb.cp/call-method-register.cc
+++ b/
gdb/testsuite/gdb.cp/call-method-register.cc
@@
-19,6
+19,8
@@
# define ASM_REG "rax"
#elif defined __i386__
# define ASM_REG "eax"
+#elif defined __powerpc64__
+# define ASM_REG "r9"
#else
# error "port me"
#endif