Index: gdb/testsuite/gdb.base/valgrind-db-attach.exp |
diff --git a/gdb/testsuite/gdb.base/valgrind-db-attach.exp b/gdb/testsuite/gdb.base/valgrind-db-attach.exp |
index 69fea45af0843c0466b83c27fa714f569c1da248..b14401fd4b0b155b17e9b07ea73f780d2d081299 100644 |
--- a/gdb/testsuite/gdb.base/valgrind-db-attach.exp |
+++ b/gdb/testsuite/gdb.base/valgrind-db-attach.exp |
@@ -72,7 +72,7 @@ set double_free [gdb_get_line_number "double-free"] |
set test "attach to debugger" |
gdb_test_multiple "" $test { |
- -re "Invalid free\\(\\) / delete / delete\\\[\\\]\r\n.*: main \\(${srcfile}:$double_free\\)\r\n.*---- Attach to debugger \\? --- \[^\r\n\]* ---- " { |
+ -re "Invalid free\\(\\).*: main \\(${srcfile}:$double_free\\)\r\n.*---- Attach to debugger \\? --- \[^\r\n\]* ---- " { |
send_gdb "y\r" |
} |
-re "---- Attach to debugger \\? --- \[^\r\n\]* ---- " { |