public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Add PowerPC support to gdb.cp/call-method-register.cc
@ 2022-06-15 17:40 Carl Love
  2022-06-30 15:13 ` [Ping] " Carl Love
  2022-07-12 10:39 ` Ulrich Weigand
  0 siblings, 2 replies; 3+ messages in thread
From: Carl Love @ 2022-06-15 17:40 UTC (permalink / raw)
  To: gdb-patches, will schmidt, cel, Ulrich Weigand

GDB maintainers:

This path adds the needed define ASM_REG for PowerPC to the test
program test program gdb.cp/call-method-register.cc.  It was tested on
a Power 10 system with no regression failures.

Please let me know if this patch is acceptable for mainline.

                           Carl Love

--------------------------------------------------------------
Add PowerPC support to gdb.cp/call-method-register.cc

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 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gdb/testsuite/gdb.cp/call-method-register.cc b/gdb/testsuite/gdb.cp/call-method-register.cc
index 06e9e53f988..d60fee03701 100644
--- 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
-- 
2.31.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Ping]  [PATCH] Add PowerPC support to gdb.cp/call-method-register.cc
  2022-06-15 17:40 [PATCH] Add PowerPC support to gdb.cp/call-method-register.cc Carl Love
@ 2022-06-30 15:13 ` Carl Love
  2022-07-12 10:39 ` Ulrich Weigand
  1 sibling, 0 replies; 3+ messages in thread
From: Carl Love @ 2022-06-30 15:13 UTC (permalink / raw)
  To: gdb-patches, will schmidt, Ulrich Weigand


Ping?

On Wed, 2022-06-15 at 10:40 -0700, Carl Love wrote:
> GDB maintainers:
> 
> This path adds the needed define ASM_REG for PowerPC to the test
> program test program gdb.cp/call-method-register.cc.  It was tested
> on
> a Power 10 system with no regression failures.
> 
> Please let me know if this patch is acceptable for mainline.
> 
>                            Carl Love
> 
> --------------------------------------------------------------
> Add PowerPC support to gdb.cp/call-method-register.cc
> 
> 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 | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/gdb/testsuite/gdb.cp/call-method-register.cc
> b/gdb/testsuite/gdb.cp/call-method-register.cc
> index 06e9e53f988..d60fee03701 100644
> --- 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Add PowerPC support to gdb.cp/call-method-register.cc
  2022-06-15 17:40 [PATCH] Add PowerPC support to gdb.cp/call-method-register.cc Carl Love
  2022-06-30 15:13 ` [Ping] " Carl Love
@ 2022-07-12 10:39 ` Ulrich Weigand
  1 sibling, 0 replies; 3+ messages in thread
From: Ulrich Weigand @ 2022-07-12 10:39 UTC (permalink / raw)
  To: gdb-patches, will_schmidt, cel

Carl Love <cel@us.ibm.com> wrote:

>Add PowerPC support to gdb.cp/call-method-register.cc

This is OK.

Thanks,
Ulrich


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-12 10:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-15 17:40 [PATCH] Add PowerPC support to gdb.cp/call-method-register.cc Carl Love
2022-06-30 15:13 ` [Ping] " Carl Love
2022-07-12 10:39 ` Ulrich Weigand

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).