aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/config
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1995-05-11 22:04:20 +0000
committerStu Grossman <grossman@cygnus>1995-05-11 22:04:20 +0000
commitf031fc2c4b263a97b5a3c197916e0b194dd04a36 (patch)
treed5c4e380295517c34f7ec3ab39de4e5f2247cb49 /gdb/testsuite/config
parent856afd17917f558038a815b2873316235d5f7b3e (diff)
downloadgdb-f031fc2c4b263a97b5a3c197916e0b194dd04a36.zip
gdb-f031fc2c4b263a97b5a3c197916e0b194dd04a36.tar.gz
gdb-f031fc2c4b263a97b5a3c197916e0b194dd04a36.tar.bz2
* config/monitor.exp (gdb_target_monitor): Fix loop interator so
that loop eventually terminates.
Diffstat (limited to 'gdb/testsuite/config')
-rw-r--r--gdb/testsuite/config/monitor.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/config/monitor.exp b/gdb/testsuite/config/monitor.exp
index c977e14..41ddea8 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 $" {