From aaaf81a30223b8d9dbf68e33596a8b6befacec35 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Tue, 3 May 2011 18:02:00 +0000 Subject: Fix races in gdb.base/pr10179.exp. --- gdb/testsuite/gdb.base/pr10179.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/testsuite/gdb.base') 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\]*.*" -- cgit v1.1