* config/sim.exp (gdb_load): Return 0 on success, -1 on failure.

This commit is contained in:
Richard Earnshaw 2004-11-28 23:17:33 +00:00
parent e29360381b
commit 954269c2f7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-11-28 Richard Earnshaw <rearnsha@arm.com>
* config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
2004-11-16 Randolph Chung <tausq@debian.org>
* gdb.base/unload.exp: Pass relative path to gdb_get_line_number.

View File

@ -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
}