Fix derived class overload problem.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / expand-sals.exp
index 25ec4a9d685b2af07be3f9daf5f1585e2b689d9d..e4fd59b8ffeaf6f9dc23cf2edda3d275f4835a5b 100644 (file)
@@ -46,7 +46,7 @@ gdb_continue_to_breakpoint "caller" ".*caller-line.*"
 
 # Test GDB caught this return call and not the next one through B::B()
 gdb_test "bt" \
-        "#0 \[^\r\n\]* A \[^\r\n\]*\r\n#1 \[^\r\n\]* main \[^\r\n\]*" \
+        "#0 \[^\r\n\]* (A::)?A \[^\r\n\]*\r\n#1 \[^\r\n\]* main \[^\r\n\]*" \
         "bt from A"
 
 gdb_continue_to_breakpoint "next caller func" ".*func-line.*"
This page took 0.024284 seconds and 4 git commands to generate.