aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-07-30 17:28:07 +0000
committerDoug Evans <dje@google.com>2010-07-30 17:28:07 +0000
commitd3765805ec56713fc0af2aad01b1246bec4ca184 (patch)
treea3ba4911795c8aa08b07ac9bf0d15ec9519dbdad
parentb20dd2ce19d4b550ed801ead75acf451ea9036c6 (diff)
downloadgdb-d3765805ec56713fc0af2aad01b1246bec4ca184.zip
gdb-d3765805ec56713fc0af2aad01b1246bec4ca184.tar.gz
gdb-d3765805ec56713fc0af2aad01b1246bec4ca184.tar.bz2
* gdb.base/valgrind-db-attach.exp: Use unique test name for
attach-to-debugger handling.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/valgrind-db-attach.exp1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index f364dea..adfbeb6 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-30 Doug Evans <dje@google.com>
+
+ * gdb.base/valgrind-db-attach.exp: Use unique test name for
+ attach-to-debugger handling.
+
2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/prelink-lib.c (copyreloc): New initialized variable.
diff --git a/gdb/testsuite/gdb.base/valgrind-db-attach.exp b/gdb/testsuite/gdb.base/valgrind-db-attach.exp
index 36a543c..b095218 100644
--- a/gdb/testsuite/gdb.base/valgrind-db-attach.exp
+++ b/gdb/testsuite/gdb.base/valgrind-db-attach.exp
@@ -65,6 +65,7 @@ gdb_test_multiple "" $test {
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\]* ---- " {
send_gdb "y\r"