aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
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
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')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/config/monitor.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index bf77410..ca4c1f1 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 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 $" {