aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/config
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/config
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/config')
-rw-r--r--gdb/testsuite/config/vx-gdb.exp2
1 files changed, 1 insertions, 1 deletions
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
}