aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/watchpoint-solib.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2010-01-29 15:38:38 +0000
committerDaniel Jacobowitz <drow@false.org>2010-01-29 15:38:38 +0000
commit97f2ed50d0f6749e17b107b3520001c6288f7837 (patch)
tree1a4a0a8fb0be82b9cc2cd5983324aba2a18cb18c /gdb/testsuite/gdb.base/watchpoint-solib.exp
parente4e2711a4aea4b4c12347d12ad9987432ff4b21f (diff)
downloadfsf-binutils-gdb-97f2ed50d0f6749e17b107b3520001c6288f7837.zip
fsf-binutils-gdb-97f2ed50d0f6749e17b107b3520001c6288f7837.tar.gz
fsf-binutils-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/watchpoint-solib.exp')
-rw-r--r--gdb/testsuite/gdb.base/watchpoint-solib.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/watchpoint-solib.exp b/gdb/testsuite/gdb.base/watchpoint-solib.exp
index 26c0aae..eb093cd 100644
--- a/gdb/testsuite/gdb.base/watchpoint-solib.exp
+++ b/gdb/testsuite/gdb.base/watchpoint-solib.exp
@@ -83,6 +83,9 @@ gdb_test_multiple "break foo" "set pending breakpoint" {
}
}
+set prev_timeout $timeout
+set timeout 120
+
gdb_test "continue" ".*Breakpoint 2.*foo.*" "continue to foo"
gdb_test "watch g" "atchpoint 3: g" "set watchpoint on g"
gdb_test "continue" ".*New value = 1.*" "continue to watchpoint hit"
@@ -90,7 +93,4 @@ rerun_to_main
gdb_test "continue" ".*Breakpoint 2.*foo.*" "continue to foo again"
gdb_test "continue" ".*New value = 1.*" "continue to watchpoint hit again"
-
-
-
-
+set timeout $prev_timeout