diff options
author | Michael Snyder <msnyder@vmware.com> | 2000-12-05 23:14:40 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2000-12-05 23:14:40 +0000 |
commit | 660fd4696e03e8dc4456c71867d28cbeea7f8466 (patch) | |
tree | 36a8027a3c04de0b18dde3d733773116a4a2a776 /gdb/testsuite/gdb.base/pointers.exp | |
parent | 849ee22471a973ae9dddc32f20b6a597040bc204 (diff) | |
download | gdb-660fd4696e03e8dc4456c71867d28cbeea7f8466.zip gdb-660fd4696e03e8dc4456c71867d28cbeea7f8466.tar.gz gdb-660fd4696e03e8dc4456c71867d28cbeea7f8466.tar.bz2 |
2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* gdb.base/constvars.exp: Test result of "up" command.
* gdb.base/miscexprs.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/scope.exp: Ditto.
* gdb.c++/derivation.exp: Ditto.
* gdb.c++/local.exp: Ditto.
* gdb.c++/namespace.exp: Ditto.
* gdb.c++/overload.exp: Ditto.
* gdb.c++/ref-types.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.base/pointers.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/pointers.exp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/pointers.exp b/gdb/testsuite/gdb.base/pointers.exp index 539f875..b7cce51 100644 --- a/gdb/testsuite/gdb.base/pointers.exp +++ b/gdb/testsuite/gdb.base/pointers.exp @@ -371,8 +371,11 @@ send_gdb "break marker1\n" ; gdb_expect -re ".*$gdb_prompt $" -re "Break.* marker1 \\(\\) at .*:$decimal.*$gdb_prompt $" { send_gdb "up\n" gdb_expect { - -re ".*$gdb_prompt $" {} - timeout { fail "up from marker1" } + -re ".*more_code.*$gdb_prompt $" {} + -re ".*$gdb_prompt $" { + fail "up from marker1" + } + timeout { fail "up from marker1 (timeout)" } } } -re "$gdb_prompt $" { fail "continue to marker1" } |