* config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
authorBrendan Kehoe <brendan@cygnus>
Sat, 3 Aug 1996 00:38:50 +0000 (00:38 +0000)
committerBrendan Kehoe <brendan@cygnus>
Sat, 3 Aug 1996 00:38:50 +0000 (00:38 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/config/vx-gdb.exp

index c113f04..55f0ce4 100644 (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
index 984f4be..6a6ea6b 100644 (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
     }