* config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.

This commit is contained in:
Brendan Kehoe
1996-08-03 00:38:50 +00:00
parent 5735ac9e57
commit e95a45af92
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
* config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/signals.exp (test_handle_all_print): Temporarily increase

View File

@ -70,7 +70,7 @@ proc gdb_start { } {
# get a connection to the board
set shell_id [ eval $connectmode "$targetname" ]
if $shell_id<0 then {
if { $shell_id < 0 } then {
perror "Couldn't connect to $targetname."
return -1
}