* config/monitor.exp (gdb_target_monitor): Fix loop interator so

that loop eventually terminates.
This commit is contained in:
Stu Grossman 1995-05-11 22:04:20 +00:00
parent 856afd1791
commit f031fc2c4b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
* config/monitor.exp (gdb_target_monitor): Fix loop interator so
that loop eventually terminates.
Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
* config/cpu32bug.exp, config/est.exp, config/hppro.exp,

View File

@ -36,7 +36,7 @@ proc gdb_target_monitor { } {
global baud
set timeout 60
for {set i 1} {$i <= 3} {incr i -1} {
for {set i 1} {$i <= 3} {incr i} {
send "target $targetname $serialport\n"
expect {
-re "Remote target $targetname connected to.*$prompt $" {