gdb/testsuite/

* gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
	compatibility with valgrind-3.7.0.
This commit is contained in:
Jan Kratochvil 2012-01-30 06:48:08 +00:00
parent 61edde8e92
commit f0d1a53ee3
2 changed files with 6 additions and 1 deletions

View 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.

View 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\]* ---- " {