From: Doug Evans Date: Thu, 11 Mar 2010 00:17:23 +0000 (+0000) Subject: * gdb.base/checkpoint.exp: Fix comment. X-Git-Tag: gdb_7_1-2010-03-18-release~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c152da8fb450fce995491498e61eae5f3ec4938;p=thirdparty%2Fbinutils-gdb.git * gdb.base/checkpoint.exp: Fix comment. Lengthen timeout while doing >600 checkpoints test. Rename duplicate "kill all one" test to keep test names unique. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d245bf44a8e..b6b38510460 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-03-10 Doug Evans + + * 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-03 Tom Tromey PR gdb/11345: diff --git a/gdb/testsuite/gdb.base/checkpoint.exp b/gdb/testsuite/gdb.base/checkpoint.exp index dc8ce1e0df1..d987348f61e 100644 --- a/gdb/testsuite/gdb.base/checkpoint.exp +++ b/gdb/testsuite/gdb.base/checkpoint.exp @@ -328,7 +328,7 @@ gdb_test "restart 9" "Not found.*" "no more checkpoint 9" 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 @@ -352,6 +352,10 @@ gdb_expect { 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" @@ -375,9 +379,13 @@ gdb_test_multiple "info checkpoints" $msg { # 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 #