gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 30 Jan 2012 06:48:08 +0000 (06:48 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 30 Jan 2012 06:48:08 +0000 (06:48 +0000)
* gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
compatibility with valgrind-3.7.0.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/valgrind-db-attach.exp

index 1ef4b12a27864c0c69ffb72cafb8a499347f6eb7..81739c38b63e2325c554fd967dd043c17fd777f4 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
+       compatibility with valgrind-3.7.0.
+
 2012-01-27  Pedro Alves  <palves@redhat.com>
 
        * gdb.base/watchpoint.exp (no_hw): New global.
index 69fea45af0843c0466b83c27fa714f569c1da248..b14401fd4b0b155b17e9b07ea73f780d2d081299 100644 (file)
@@ -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\]* ---- " {