From f0d1a53ee3440a219c4d8bc003bbb81c8ec5e3d2 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Mon, 30 Jan 2012 06:48:08 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix compatibility with valgrind-3.7.0. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/valgrind-db-attach.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1ef4b12a278..81739c38b63 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-01-30 Jan Kratochvil + + * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix + compatibility with valgrind-3.7.0. + 2012-01-27 Pedro Alves * gdb.base/watchpoint.exp (no_hw): New global. diff --git a/gdb/testsuite/gdb.base/valgrind-db-attach.exp b/gdb/testsuite/gdb.base/valgrind-db-attach.exp index 69fea45af08..b14401fd4b0 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\]* ---- " { -- 2.30.2