aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/config/sim.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/config/sim.exp')
-rw-r--r--gdb/testsuite/config/sim.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/config/sim.exp b/gdb/testsuite/config/sim.exp
index 6ecdc52..e7d7c14 100644
--- a/gdb/testsuite/config/sim.exp
+++ b/gdb/testsuite/config/sim.exp
@@ -71,7 +71,7 @@ proc gdb_load { arg } {
}
set timeout 30
verbose "Timeout is now $timeout seconds" 2
- return 1
+ return 0
}
-re "$gdb_prompt $" {
if $verbose>1 then {
@@ -84,4 +84,5 @@ proc gdb_load { arg } {
}
}
}
+ return -1
}