Skip to content

Commit

Permalink
gdb/testsuite/gdb.rocm: Fix backport of multi-process debug detection
Browse files Browse the repository at this point in the history
When backporting the patch replacing
hip_device_supports_debug_multi_process with
hip_devices_support_debug_multi_process (47cd6f9 gdb/testsuite/rocm:
Add the hip_devices_support_debug_multi_process proc), some callsites
got missed.  This patch fixes this.

Change-Id: I78d508f6193225ec0267f9d33bc87cbd253276a3
  • Loading branch information
lancesix committed Sep 20, 2023
1 parent 7b1d07a commit 9fda287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.rocm/multi-inferior-fork.exp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ proc do_test { stop_at } {

gdb_test_multiple "run" "run" {
-re -wrap "At least one agent is busy.*" {
if {[hip_device_supports_debug_multi_process]} {
if {[hip_devices_support_debug_multi_process]} {
fail $gdb_test_name
} else {
unsupported $gdb_test_name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ proc do_test { } {
# Make sure "run" results in a stop in inferior 2.
gdb_test_multiple "run" "" {
-re -wrap "At least one agent is busy.*" {
if {[hip_device_supports_debug_multi_process]} {
if {[hip_devices_support_debug_multi_process]} {
fail $gdb_test_name
} else {
unsupported $gdb_test_name
Expand Down

0 comments on commit 9fda287

Please sign in to comment.