diff options
Diffstat (limited to 'gdb/testsuite/config')
-rw-r--r-- | gdb/testsuite/config/unix-gdb.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/config/unix-gdb.exp b/gdb/testsuite/config/unix-gdb.exp index 690b6a8..ff17f53 100644 --- a/gdb/testsuite/config/unix-gdb.exp +++ b/gdb/testsuite/config/unix-gdb.exp @@ -174,7 +174,7 @@ proc gdb_start {} { exit 1 } } else { - IF {[WHICH $GDB] != 0} then { + if {[which $GDB] != 0} then { spawn $GDB } else { error "$GDB does not exist." |