* [patch] gdb.cp/pr-1210.exp: add msg string.
@ 2010-06-04 21:46 Michael Snyder
0 siblings, 0 replies; only message in thread
From: Michael Snyder @ 2010-06-04 21:46 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: pr-1210.txt --]
[-- Type: text/plain, Size: 903 bytes --]
2010-06-04 Michael Snyder <msnyder@vmware.com>
* gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
Index: pr-1210.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/pr-1210.exp,v
retrieving revision 1.8
diff -u -p -r1.8 pr-1210.exp
--- pr-1210.exp 5 May 2010 18:06:58 -0000 1.8
+++ pr-1210.exp 4 Jun 2010 21:42:45 -0000
@@ -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"
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-04 21:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-04 21:46 [patch] gdb.cp/pr-1210.exp: add msg string Michael Snyder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).