diff options
author | Richard Earnshaw <richard.earnshaw@arm.com> | 2004-11-28 23:17:33 +0000 |
---|---|---|
committer | Richard Earnshaw <richard.earnshaw@arm.com> | 2004-11-28 23:17:33 +0000 |
commit | 954269c2f7568b7e6aca96b1e431c2fb5b842891 (patch) | |
tree | 48630178fd49109c8672259644759592915e233f /gdb | |
parent | e29360381bf7223d825079433ae47cd061e36218 (diff) | |
download | gdb-954269c2f7568b7e6aca96b1e431c2fb5b842891.zip gdb-954269c2f7568b7e6aca96b1e431c2fb5b842891.tar.gz gdb-954269c2f7568b7e6aca96b1e431c2fb5b842891.tar.bz2 |
* config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/config/sim.exp | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c2e89d2..156d72e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. 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 } |