2010-06-04 Michael Snyder <msnyder@vmware.com>
* gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
This commit is contained in:
parent
554794dcf2
commit
dc226d5aea
|
@ -1,3 +1,7 @@
|
|||
2010-06-04 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
|
||||
|
||||
2010-06-04 Doug Evans <dje@google.com>
|
||||
|
||||
* gdb.python/py-prettyprint.exp: Add new test for enabled and
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue