diff options
author | Daniel Jacobowitz <drow@false.org> | 2010-01-29 15:38:38 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2010-01-29 15:38:38 +0000 |
commit | 97f2ed50d0f6749e17b107b3520001c6288f7837 (patch) | |
tree | 1a4a0a8fb0be82b9cc2cd5983324aba2a18cb18c /gdb/testsuite/gdb.base/watchpoints.exp | |
parent | e4e2711a4aea4b4c12347d12ad9987432ff4b21f (diff) | |
download | gdb-97f2ed50d0f6749e17b107b3520001c6288f7837.zip gdb-97f2ed50d0f6749e17b107b3520001c6288f7837.tar.gz gdb-97f2ed50d0f6749e17b107b3520001c6288f7837.tar.bz2 |
* gdb.base/call-strs.exp, gdb.base/default.exp,
gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
gdb.base/watchpoint-solib.exp: Save and restore timeout.
* gdb.base/ending-run.exp: Correct restore of timeout.
* gdb.base/page.exp: Remove unnecessary timeout setting.
Diffstat (limited to 'gdb/testsuite/gdb.base/watchpoints.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/watchpoints.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/watchpoints.exp b/gdb/testsuite/gdb.base/watchpoints.exp index 257a05b..757d93d 100644 --- a/gdb/testsuite/gdb.base/watchpoints.exp +++ b/gdb/testsuite/gdb.base/watchpoints.exp @@ -53,6 +53,7 @@ gdb_load $binfile gdb_test "watch ival1" "" "" gdb_test "watch ival3" "" "" + set prev_timeout $timeout set timeout 600 gdb_test "cont" "Continuing.*\[Ww\]atchpoint.*ival1.*Old value = -1.*New value = 0.*ival1 = count; ival2 = count;.*" "watchpoint hit, first time" @@ -102,4 +103,4 @@ gdb_load $binfile # Check that the hit count is reported correctly gdb_test "info break" ".*watchpoint\[ \t\]+keep\[ \t\]+y\[ \t\]+ival3\r\n\[ \t]+breakpoint already hit 5 times.*" "Watchpoint hit count is 5" - +set timeout $prev_timeout |