summaryrefslogtreecommitdiff
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.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/lib/prompt.exp b/gdb/testsuite/lib/prompt.exp
index e23fe52a8cf..87d889cc1f7 100644
--- a/gdb/testsuite/lib/prompt.exp
+++ b/gdb/testsuite/lib/prompt.exp
@@ -37,7 +37,7 @@ proc default_prompt_gdb_start { } {
verbose "Spawning $GDB $INTERNAL_GDBFLAGS $GDBFLAGS"
if [info exists gdb_spawn_id] {
- return 0;
+ return 0
}
if ![is_remote host] {
@@ -49,7 +49,7 @@ proc default_prompt_gdb_start { } {
set res [remote_spawn host "$GDB $INTERNAL_GDBFLAGS $GDBFLAGS [host_info gdb_opts]"];
if { $res < 0 || $res == "" } {
perror "Spawning $GDB failed."
- return 1;
+ return 1
}
gdb_expect 360 {
-re ".*$gdb_prompt_fail.*$gdb_prompt_fail.*" {
@@ -79,7 +79,7 @@ proc default_prompt_gdb_start { } {
}
}
set gdb_spawn_id -1;
- return 0;
+ return 0
}
#