aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1995-03-22 05:42:22 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1995-03-22 05:42:22 +0000
commit11c54b4f40c61d5df2cc746ac977967d69db7bf5 (patch)
tree831c2faff3c2c9febc499d6391955de15203e717 /gdb/testsuite
parent948121f227e315b8dde5b032728bceaa5e9a1658 (diff)
downloadgdb-11c54b4f40c61d5df2cc746ac977967d69db7bf5.zip
gdb-11c54b4f40c61d5df2cc746ac977967d69db7bf5.tar.gz
gdb-11c54b4f40c61d5df2cc746ac977967d69db7bf5.tar.bz2
* config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/config/vx-gdb.exp2
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1a2b9e9..83bf398 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,4 +1,6 @@
-Tue Mar 21 20:52:36 1995 Doug Evans <dje@cygnus.com>
+Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
+
+ * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
* gdb.base/a2-run.exp: Change argument to istarget from
"*-*-vxworks" to "*-*-vxworks*".
diff --git a/gdb/testsuite/config/vx-gdb.exp b/gdb/testsuite/config/vx-gdb.exp
index a133911..5ebcefa 100644
--- a/gdb/testsuite/config/vx-gdb.exp
+++ b/gdb/testsuite/config/vx-gdb.exp
@@ -49,7 +49,7 @@ proc gdb_load { arg } {
# spawn_vxgdb
set result 0
- if [vxworks_ld $shell_id $arg]<0 then {
+ if { [vxworks_ld $shell_id $arg] != 0 } {
perror "Couldn't load $arg"
return -1
}