Make "break foo" find "A::foo", A::B::foo", etc. [C++ and wild matching]
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / namespace.exp
index 640ee4f30b20dfc993afa1ec7e96c7c84ed3e1e6..4a6b86378d4e23288bd2af20d07d9fa4b4af878b 100644 (file)
@@ -120,7 +120,7 @@ gdb_test "break AAA::xyzq" \
 
 # Break on a function in the global namespace.
 
-gdb_test "break ::ensureOtherRefs" \
+gdb_test "break -qualified ::ensureOtherRefs" \
     "Breakpoint.*at $hex: file.*$srcfile2, line $decimal\\."
 
 # Call a function in a nested namespace
This page took 0.026475 seconds and 4 git commands to generate.