From 11c54b4f40c61d5df2cc746ac977967d69db7bf5 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 22 Mar 1995 05:42:22 +0000 Subject: [PATCH] * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code. --- gdb/testsuite/ChangeLog | 4 +++- gdb/testsuite/config/vx-gdb.exp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1a2b9e999f3..83bf398660b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,4 +1,6 @@ -Tue Mar 21 20:52:36 1995 Doug Evans +Tue Mar 21 21:41:04 1995 Doug Evans + + * 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 a1339116a74..5ebcefa18e1 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 } -- 2.30.2