aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}