aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-06-04 21:45:04 +0000
committerMichael Snyder <msnyder@vmware.com>2010-06-04 21:45:04 +0000
commitdc226d5aeab65bcb52a9678695cd2cbd0d80cade (patch)
treedcc82a3993d1cc100b0920303b01928ed968f87e /gdb/testsuite/gdb.cp
parent554794dcf26bc2b4d9e9286c8000182b54554dd6 (diff)
downloadgdb-dc226d5aeab65bcb52a9678695cd2cbd0d80cade.zip
gdb-dc226d5aeab65bcb52a9678695cd2cbd0d80cade.tar.gz
gdb-dc226d5aeab65bcb52a9678695cd2cbd0d80cade.tar.bz2
2010-06-04 Michael Snyder <msnyder@vmware.com>
* gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r--gdb/testsuite/gdb.cp/pr-1210.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/pr-1210.exp b/gdb/testsuite/gdb.cp/pr-1210.exp
index aa5e607..85b49ac 100644
--- a/gdb/testsuite/gdb.cp/pr-1210.exp
+++ b/gdb/testsuite/gdb.cp/pr-1210.exp
@@ -52,7 +52,7 @@ if ![runto_main] then {
gdb_test "next" ".*return 0;" "step past initialization"
-gdb_test_multiple "print *obj" "" {
+gdb_test_multiple "print *obj" "print *obj" {
-re "Cannot access memory.*$gdb_prompt $" {
fail "print *obj"
}
@@ -61,7 +61,7 @@ gdb_test_multiple "print *obj" "" {
}
}
-gdb_test_multiple "print obj->myB" "" {
+gdb_test_multiple "print obj->myB" "print obj->myB" {
-re "Cannot access memory.*$gdb_prompt $" {
fail "print obj->myB"
}