aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorMarek Polacek <mpolacek@sourceware.org>2011-05-03 18:02:00 +0000
committerMarek Polacek <mpolacek@sourceware.org>2011-05-03 18:02:00 +0000
commitaaaf81a30223b8d9dbf68e33596a8b6befacec35 (patch)
tree4e19b90e1f8f49962f29313739e644eb95f02976 /gdb/testsuite/gdb.base
parentdd3295eed0cca68ab628d4aa8224935ee03f3acb (diff)
downloadgdb-aaaf81a30223b8d9dbf68e33596a8b6befacec35.zip
gdb-aaaf81a30223b8d9dbf68e33596a8b6befacec35.tar.gz
gdb-aaaf81a30223b8d9dbf68e33596a8b6befacec35.tar.bz2
Fix races in gdb.base/pr10179.exp.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/pr10179.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/pr10179.exp b/gdb/testsuite/gdb.base/pr10179.exp
index e125ad6..2eab6f9 100644
--- a/gdb/testsuite/gdb.base/pr10179.exp
+++ b/gdb/testsuite/gdb.base/pr10179.exp
@@ -29,10 +29,10 @@ if ![runto_main] {
gdb_test "rbreak foo.*" "Breakpoint \[0-9\]+\[^\\n\]*\\nint foo\[12\]\[^\\n\]*\\nBreakpoint \[0-9\]+\[^\\n\]*\\nint foo\[12\].*"
-gdb_test "delete breakpoints" ".*" "" "Delete all breakpoints.*" "y"
+delete_breakpoints
gdb_test "rbreak pr10179-a.c:foo.*" "Breakpoint \[0-9\]+\[^\\n\]*\\nint foo.*"
-gdb_test "delete breakpoints" ".*" "" "Delete all breakpoints.*" "y"
+delete_breakpoints
gdb_test "rbreak pr10179-a.c : .*" "Breakpoint \[0-9\]+\[^\\n\]*\\nint bar1\[^\\n\]*\\nBreakpoint \[0-9\]+\[^\\n\]*\\nint foo1\[^\\n\]*\\nBreakpoint \[0-9\]+\[^\\n\]*\\nint main\[^\\n\]*.*"