]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite: fix gdb.rocm/interrupt-twice
authorLancelot SIX <lancelot.six@amd.com>
Wed, 1 Jul 2026 16:09:25 +0000 (17:09 +0100)
committerLancelot SIX <lancelot.six@amd.com>
Fri, 3 Jul 2026 10:55:56 +0000 (11:55 +0100)
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
Reviewed-By: Tankut Baris Aktemur <TankutBaris.Aktemur@amd.com>
gdb/testsuite/gdb.rocm/interrupt-twice.exp

index bdaa3babe1630c1b469b7077c33debdc78113447..0e87b5c66e8618b22fa744069c069d8e5f4729f8 100644 (file)
@@ -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"