Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] gdb/testsuite: fix gdb.rocm/interrupt-twice
@ 2026-07-01 16:18 Lancelot SIX
  2026-07-01 16:34 ` Aktemur, Baris
  0 siblings, 1 reply; 3+ messages in thread
From: Lancelot SIX @ 2026-07-01 16:18 UTC (permalink / raw)
  To: gdb-patches; +Cc: tankutbaris.aktemur, Lancelot SIX

Since 246aecb1cd1 "gdb/testsuite: make gdb_breakpoint, runto and
runto_main use parse_args", gdb_breakpoint arguments changed.  The
gdb.rocm/interrupt-twice.exp testcase was not updated to call
gdb_breakpoint with correct arguments.  This due to the new test being
reviewed before the gdb_breakpoint landed, but it being pushed after.

This patch fixes this issue.

Change-Id: I0204e2c3cc9b704c79ce01386134e13b018593b8
---
 gdb/testsuite/gdb.rocm/interrupt-twice.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.rocm/interrupt-twice.exp b/gdb/testsuite/gdb.rocm/interrupt-twice.exp
index bdaa3babe16..0e87b5c66e8 100644
--- a/gdb/testsuite/gdb.rocm/interrupt-twice.exp
+++ b/gdb/testsuite/gdb.rocm/interrupt-twice.exp
@@ -33,7 +33,7 @@ with_rocm_gpu_lock {
 	clean_restart $::testfile
     }
 
-    gdb_breakpoint "loop" {allow-pending} {temporary}
+    gdb_breakpoint "loop" -allow-pending -temporary
     gdb_run_cmd
 
     set gpu_thread "undefined"

base-commit: 54e80f9747d62efea50038655801ecb58d37b507
-- 
2.43.0


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

* RE: [PATCH] gdb/testsuite: fix gdb.rocm/interrupt-twice
  2026-07-01 16:18 [PATCH] gdb/testsuite: fix gdb.rocm/interrupt-twice Lancelot SIX
@ 2026-07-01 16:34 ` Aktemur, Baris
  2026-07-03 10:58   ` Lancelot SIX
  0 siblings, 1 reply; 3+ messages in thread
From: Aktemur, Baris @ 2026-07-01 16:34 UTC (permalink / raw)
  To: Six, Lancelot, gdb-patches

AMD General

On Wednesday, July 1, 2026 6:19 PM, Six, Lancelot wrote:
> Since 246aecb1cd1 "gdb/testsuite: make gdb_breakpoint, runto and
> runto_main use parse_args", gdb_breakpoint arguments changed.  The
> gdb.rocm/interrupt-twice.exp testcase was not updated to call
> gdb_breakpoint with correct arguments.  This due to the new test being
> reviewed before the gdb_breakpoint landed, but it being pushed after.
>
> This patch fixes this issue.
>
> Change-Id: I0204e2c3cc9b704c79ce01386134e13b018593b8
> ---
>  gdb/testsuite/gdb.rocm/interrupt-twice.exp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gdb/testsuite/gdb.rocm/interrupt-twice.exp
> b/gdb/testsuite/gdb.rocm/interrupt-twice.exp
> index bdaa3babe16..0e87b5c66e8 100644
> --- a/gdb/testsuite/gdb.rocm/interrupt-twice.exp
> +++ b/gdb/testsuite/gdb.rocm/interrupt-twice.exp
> @@ -33,7 +33,7 @@ with_rocm_gpu_lock {
>       clean_restart $::testfile
>      }
>
> -    gdb_breakpoint "loop" {allow-pending} {temporary}
> +    gdb_breakpoint "loop" -allow-pending -temporary

Thank you for fixing this.  LGTM.

Reviewed-By: Tankut Baris Aktemur <TankutBaris.Aktemur@amd.com>

-Baris



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

* Re: [PATCH] gdb/testsuite: fix gdb.rocm/interrupt-twice
  2026-07-01 16:34 ` Aktemur, Baris
@ 2026-07-03 10:58   ` Lancelot SIX
  0 siblings, 0 replies; 3+ messages in thread
From: Lancelot SIX @ 2026-07-03 10:58 UTC (permalink / raw)
  To: Aktemur, Baris, gdb-patches



On 01/07/2026 17:34, Aktemur, Baris wrote:
> AMD General
> 
> On Wednesday, July 1, 2026 6:19 PM, Six, Lancelot wrote:
>> Since 246aecb1cd1 "gdb/testsuite: make gdb_breakpoint, runto and
>> runto_main use parse_args", gdb_breakpoint arguments changed.  The
>> gdb.rocm/interrupt-twice.exp testcase was not updated to call
>> gdb_breakpoint with correct arguments.  This due to the new test being
>> reviewed before the gdb_breakpoint landed, but it being pushed after.
>>
>> This patch fixes this issue.
>>
>> Change-Id: I0204e2c3cc9b704c79ce01386134e13b018593b8
>> ---
>>   gdb/testsuite/gdb.rocm/interrupt-twice.exp | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/gdb/testsuite/gdb.rocm/interrupt-twice.exp
>> b/gdb/testsuite/gdb.rocm/interrupt-twice.exp
>> index bdaa3babe16..0e87b5c66e8 100644
>> --- a/gdb/testsuite/gdb.rocm/interrupt-twice.exp
>> +++ b/gdb/testsuite/gdb.rocm/interrupt-twice.exp
>> @@ -33,7 +33,7 @@ with_rocm_gpu_lock {
>>        clean_restart $::testfile
>>       }
>>
>> -    gdb_breakpoint "loop" {allow-pending} {temporary}
>> +    gdb_breakpoint "loop" -allow-pending -temporary
> 
> Thank you for fixing this.  LGTM.
> 
> Reviewed-By: Tankut Baris Aktemur <TankutBaris.Aktemur@amd.com>
> 
> -Baris
> 
> 

Thanks.

Pushed as 674d984dd02.

Best,
Lancelot.

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

end of thread, other threads:[~2026-07-03 10:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01 16:18 [PATCH] gdb/testsuite: fix gdb.rocm/interrupt-twice Lancelot SIX
2026-07-01 16:34 ` Aktemur, Baris
2026-07-03 10:58   ` Lancelot SIX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox