From: Stu Grossman Date: Thu, 11 May 1995 22:04:20 +0000 (+0000) Subject: * config/monitor.exp (gdb_target_monitor): Fix loop interator so X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f031fc2c4b263a97b5a3c197916e0b194dd04a36;p=binutils-gdb.git * config/monitor.exp (gdb_target_monitor): Fix loop interator so that loop eventually terminates. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index bf77410c6a3..ca4c1f18ad5 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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, diff --git a/gdb/testsuite/config/monitor.exp b/gdb/testsuite/config/monitor.exp index c977e1451ba..41ddea898e1 100644 --- a/gdb/testsuite/config/monitor.exp +++ b/gdb/testsuite/config/monitor.exp @@ -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 $" {