+2010-03-10 Doug Evans <dje@google.com>
+
+ * gdb.base/checkpoint.exp: Fix comment.
+ Lengthen timeout while doing >600 checkpoints test.
+ Rename duplicate "kill all one" test to keep test names unique.
+
2010-03-10 Pedro Alves <pedro@codesourcery.com>
* gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
gdb_test "restart 10" "Not found.*" "no more checkpoint 10"
#
-# Now let's try setting a large number of checkpoints (>1000)
+# Now let's try setting a large number of checkpoints (>600)
#
gdb_exit
timeout { fail "(timeout) set checkpoint breakpoint" }
}
+set prev_timeout $timeout
+set timeout [expr $timeout + 120]
+verbose "Timeout now $timeout sec."
+
gdb_breakpoint $break2_loc
gdb_test "continue" "breakpoint 2.*" "break2 with many checkpoints"
# OK, kill 'em all...
#
-gdb_test "kill" "" "kill all one" \
+gdb_test "kill" "" "kill all one with many checkpoints" \
"Kill the program being debugged.*y or n. $" "y"
+# Restore old timeout
+set timeout $prev_timeout
+verbose "Timeout now $timeout sec."
+
#
# Finished: cleanup
#