the "ambiguous linespec" series
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / mb-ctor.exp
index 6a99175f789162fd280ab105008a9e7380d3a0e5..04384248536c81d66d7a6a29c48c51faad041433 100644 (file)
@@ -50,13 +50,13 @@ if ![runto_main] then {
 # and a condition.
 
 gdb_test "break 'Derived::Derived(int)'" \
-    "Breakpoint.*at.* file .*$srcfile, line.*\\(2 locations\\).*" \
+    "Breakpoint.*at.*: Derived::Derived.int.. \\(2 locations\\).*" \
     "set-breakpoint at ctor"
 
 gdb_breakpoint [gdb_get_line_number "set breakpoint here"]
 
 gdb_test "break 'Derived::~Derived()'" \
-    "Breakpoint.*at.* file .*$srcfile, line.*\\(2 locations\\).*" \
+    "Breakpoint.*at.*: Derived::~Derived... \\(2 locations\\).*" \
     "set-breakpoint at dtor"
 
 gdb_test "continue" \
This page took 0.027459 seconds and 4 git commands to generate.