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/constvars.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/constvars.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/constvars.exp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/constvars.exp b/gdb/testsuite/gdb.base/constvars.exp index 312b524..1cdc231 100644 --- a/gdb/testsuite/gdb.base/constvars.exp +++ b/gdb/testsuite/gdb.base/constvars.exp @@ -79,16 +79,22 @@ 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 ".*main.*$gdb_prompt $" {} + -re ".*$gdb_prompt $" { + fail "up from marker1" + } + timeout { fail "up from marker1 (timeout)" } } } -re "Break.* marker1__.* \\(\\) at .*:$decimal.*$gdb_prompt $" { fail "continue to marker1 (demangling)" send_gdb "up\n" gdb_expect { - -re ".*$gdb_prompt $" {} - timeout { fail "up from marker1" } + -re ".*main.*$gdb_prompt $" {} + -re ".*$gdb_prompt $" { + fail "up from marker1" + } + timeout { fail "up from marker1 (timeout)" } } } -re "$gdb_prompt $" { fail "continue to marker1" } |