aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/prompt.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/lib/prompt.exp')
-rw-r--r--gdb/testsuite/lib/prompt.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/lib/prompt.exp b/gdb/testsuite/lib/prompt.exp
index 7fa131b..0473d69 100644
--- a/gdb/testsuite/lib/prompt.exp
+++ b/gdb/testsuite/lib/prompt.exp
@@ -44,11 +44,11 @@ proc default_prompt_gdb_start { } {
verbose "Spawning $GDB $INTERNAL_GDBFLAGS $GDBFLAGS"
gdb_write_cmd_file "$GDB $INTERNAL_GDBFLAGS $GDBFLAGS"
- if [info exists gdb_spawn_id] {
+ if {[info exists gdb_spawn_id]} {
return 0
}
- if ![is_remote host] {
+ if {![is_remote host]} {
if {[which $GDB] == 0} {
perror "$GDB does not exist."
exit 1