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.c++ | |
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.c++')
-rw-r--r-- | gdb/testsuite/gdb.c++/derivation.exp | 7 | ||||
-rw-r--r-- | gdb/testsuite/gdb.c++/local.exp | 7 | ||||
-rw-r--r-- | gdb/testsuite/gdb.c++/namespace.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.c++/overload.exp | 7 | ||||
-rw-r--r-- | gdb/testsuite/gdb.c++/ref-types.exp | 7 |
5 files changed, 23 insertions, 10 deletions
diff --git a/gdb/testsuite/gdb.c++/derivation.exp b/gdb/testsuite/gdb.c++/derivation.exp index 0185ce6..4b0ff74 100644 --- a/gdb/testsuite/gdb.c++/derivation.exp +++ b/gdb/testsuite/gdb.c++/derivation.exp @@ -76,8 +76,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 ".*main.*$gdb_prompt $" {} + -re ".*$gdb_prompt $" { + fail "up from marker1" + } + timeout { fail "up from marker1 (timeout)" } } } -re "$gdb_prompt $" { fail "continue to marker1" } diff --git a/gdb/testsuite/gdb.c++/local.exp b/gdb/testsuite/gdb.c++/local.exp index 10dfabe..0558860 100644 --- a/gdb/testsuite/gdb.c++/local.exp +++ b/gdb/testsuite/gdb.c++/local.exp @@ -68,8 +68,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 ".*main.*$gdb_prompt $" {} + -re ".*$gdb_prompt $" { + fail "up from marker1" + } + timeout { fail "up from marker1 (timeout)" } } } -re "$gdb_prompt $" { fail "continue to marker1" } diff --git a/gdb/testsuite/gdb.c++/namespace.exp b/gdb/testsuite/gdb.c++/namespace.exp index 9298c90..16e6e16 100644 --- a/gdb/testsuite/gdb.c++/namespace.exp +++ b/gdb/testsuite/gdb.c++/namespace.exp @@ -73,8 +73,9 @@ 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 $" { pass "up from marker1" } - timeout { fail "up from marker1" } + -re ".*main.*$gdb_prompt $" { pass "up from marker1" } + -re ".*$gdb_prompt $" { fail "up from marker1" } + timeout { fail "up from marker1 (timeout)" } } } -re "$gdb_prompt $" { fail "continue to marker1" } diff --git a/gdb/testsuite/gdb.c++/overload.exp b/gdb/testsuite/gdb.c++/overload.exp index e889273..7b3b1aa 100644 --- a/gdb/testsuite/gdb.c++/overload.exp +++ b/gdb/testsuite/gdb.c++/overload.exp @@ -68,8 +68,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 ".*main.*$gdb_prompt $" {} + -re ".*$gdb_prompt $" { + fail "up from marker1" + } + timeout { fail "up from marker1 (timeout)" } } } -re "$gdb_prompt $" { fail "continue to marker1" } diff --git a/gdb/testsuite/gdb.c++/ref-types.exp b/gdb/testsuite/gdb.c++/ref-types.exp index a528fd64..21e8f7b 100644 --- a/gdb/testsuite/gdb.c++/ref-types.exp +++ b/gdb/testsuite/gdb.c++/ref-types.exp @@ -61,8 +61,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 ".*main.*$gdb_prompt $" {} + -re ".*$gdb_prompt $" { + fail "up from marker1" + } + timeout { fail "up from marker1 (timeout)" } } } -re "$gdb_prompt $" { fail "continue to marker1" } |