diff options
author | Lancelot Six <lancelot.six@amd.com> | 2023-10-18 10:24:53 +0000 |
---|---|---|
committer | Lancelot Six <lancelot.six@amd.com> | 2023-10-18 20:31:04 +0000 |
commit | 99d603ec893755a91cec919d9a65fa3c2fb5a8e4 (patch) | |
tree | 21f4fcc17fed3f3d67b2d9d1c2e38dab397edf44 | |
parent | 1c37b30945073f34bbb685d2ac47ab01e0c93d45 (diff) | |
download | gdb-99d603ec893755a91cec919d9a65fa3c2fb5a8e4.zip gdb-99d603ec893755a91cec919d9a65fa3c2fb5a8e4.tar.gz gdb-99d603ec893755a91cec919d9a65fa3c2fb5a8e4.tar.bz2 |
gdb/testsuite/gdb.rocm: Fix incorrect use of continue N in multi-inferior-gpu.exp
The gdb.rocm/multi-inferior-gpu.exp testcase uses a "continue $thread"
command, but this is incorrect. If "continue" is given an argument, it
sets the ignore count of the breakpoint the thread stopped at.
For this testcase it does not really matter since the breakpoint is not
meant to be hit anymore, so whatever the ignore count is won't influence
the outcome of the test. It is worth fixing nevertheless.
Change-Id: I0eb674d5529cdeb9e808b74870a29b6077265737
Approved-By: Simon Marchi <simon.marchi@efficios.com>
-rw-r--r-- | gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp b/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp index 18b4172..5bac50d 100644 --- a/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp +++ b/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp @@ -68,7 +68,7 @@ proc do_test {} { foreach thread $stopped_gpu_threads { set infnumber [lindex [split $thread .] 0] gdb_test "thread $thread" "Switching to thread.*" - gdb_test_multiple "continue $thread" "" { + gdb_test_multiple "continue" "continue inferior $infnumber" { -re "\\\[Inferior $infnumber \[^\n\r\]* exited normally\\]\r\n$::gdb_prompt " { pass $gdb_test_name } |