* config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.

This commit is contained in:
David Edelsohn
1995-03-22 05:42:22 +00:00
parent 948121f227
commit 11c54b4f40
2 changed files with 4 additions and 2 deletions

View File

@ -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*".

View File

@ -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
}