linespec rewrite:
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / hbreak2.exp
index 7f52cd36334f5512e1b844d852a686afc9066edd..a11d8b61e85c60b833760fa3b54b12ab9cb49e3a 100644 (file)
@@ -356,7 +356,7 @@ gdb_test "hbreak $bp_location12 thread foo" \
 # trailing garbage.
 #
 gdb_test "hbreak $bp_location12 foo" \
-    "Junk at end of arguments.*" \
+    "malformed linespec error: unexpected string, \"foo\".*" \
     "hardware breakpoint with trailing garbage disallowed"
 
 # Verify that GDB responds gracefully to a "clear" command that has
This page took 0.032241 seconds and 4 git commands to generate.