[binutils-gdb] gdb/testsuite/lib/rocm.exp: Fix a typo in a comment

Shahab Vahedi shahab@sourceware.org
Mon Feb 24 13:02:51 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8f52366c839a155d660964908b411c027851eae1

commit 8f52366c839a155d660964908b411c027851eae1
Author: Shahab Vahedi <shahab.vahedi@amd.com>
Date:   Mon Feb 24 13:54:50 2025 +0100

    gdb/testsuite/lib/rocm.exp: Fix a typo in a comment
    
    "Check we have ..." --> "Check if we have ..."
    
    This is for consistency with the previous comment and
    the code downstream.

Diff:
---
 gdb/testsuite/lib/rocm.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/lib/rocm.exp b/gdb/testsuite/lib/rocm.exp
index f358758f283..3eb51dbb52f 100644
--- a/gdb/testsuite/lib/rocm.exp
+++ b/gdb/testsuite/lib/rocm.exp
@@ -118,7 +118,7 @@ gdb_caching_proc allow_hipcc_tests {} {
 	return {0 "no suitable amdgpu targets found"}
     }
 
-    # Check we have a working hipcc compiler available.
+    # Check if we have a working hipcc compiler available.
     # TARGETS won't be empty, because there's at least one GPU device.
     set targets [hcc_amdgpu_targets]
     set flags [list hip additional_flags=--offload-arch=[join $targets ","]]


More information about the Gdb-cvs mailing list