aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/freebpcmd.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/freebpcmd.exp')
-rw-r--r--gdb/testsuite/gdb.base/freebpcmd.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/freebpcmd.exp b/gdb/testsuite/gdb.base/freebpcmd.exp
index cbc31be..4999697 100644
--- a/gdb/testsuite/gdb.base/freebpcmd.exp
+++ b/gdb/testsuite/gdb.base/freebpcmd.exp
@@ -58,7 +58,8 @@ gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
-gdb_test "break ${srcfile}:[gdb_get_line_number "euphonium"]" "" "set breakpoint"
+gdb_test "break ${srcfile}:[gdb_get_line_number "euphonium"]" ".*" \
+ "set breakpoint"
# The goal of all this is to make sure that there's plenty of memory
# churn, and different amounts of it each time the inferior stops;