diff options
author | Michael Chastain <mec@google.com> | 2004-09-10 01:04:59 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2004-09-10 01:04:59 +0000 |
commit | 2db8e78e679d88bbdbaf32bdfbed44382f55c0d6 (patch) | |
tree | 92fafc944bd6b3cdd668720779bc3f0c68f85646 /gdb/testsuite/gdb.base/remote.exp | |
parent | e0638f7007c3f4734c293c399570727fbf2db125 (diff) | |
download | binutils-gdb-2db8e78e679d88bbdbaf32bdfbed44382f55c0d6.tar.gz |
2004-09-09 Michael Chastain <mec.gnu@mindspring.com>
* lib/gdb.exp (gdb_file_cmd): Revert the return value to
previous simple convention. Use a global variable to store
information about what was found.
(gdb_run_cmd): Adapt to reverted return value.
* gdb.base/remote.exp: Adapt to reverted return value.
* gdb.gdb/complaints.exp: Likewise.
* gdb.gdb/observer.exp: Likewise.
* gdb.gdb/selftest.exp: Likewise.
* gdb.gdb/xfullpath.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/remote.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/remote.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/remote.exp b/gdb/testsuite/gdb.base/remote.exp index 49430d77597..b286e3a6539 100644 --- a/gdb/testsuite/gdb.base/remote.exp +++ b/gdb/testsuite/gdb.base/remote.exp @@ -119,7 +119,7 @@ proc gdb_load_timed {executable downloadsize class writesize} { set load_begin_time [clock clicks] set result [gdb_load $executable] set load_end_time [clock clicks] - if { [lindex $result 0] != "" } then { + if { $result != 0 } then { fail "$test - loading executable" return } |