aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/constvars.exp
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-12-05 23:57:36 +0000
committerMichael Snyder <msnyder@vmware.com>2000-12-05 23:57:36 +0000
commit3c077de93f564c01eaa021e741841e3a0e658ae8 (patch)
tree4e4db57148cc0b3a29679b8b87801545f625adc8 /gdb/testsuite/gdb.base/constvars.exp
parent660fd4696e03e8dc4456c71867d28cbeea7f8466 (diff)
downloadgdb-3c077de93f564c01eaa021e741841e3a0e658ae8.zip
gdb-3c077de93f564c01eaa021e741841e3a0e658ae8.tar.gz
gdb-3c077de93f564c01eaa021e741841e3a0e658ae8.tar.bz2
2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* gdb.base/constvars.exp: Add a "pass" message if "up" succeeds. * gdb.base/miscexprs.exp: Ditto. * gdb.base/pointers.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.exp8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/constvars.exp b/gdb/testsuite/gdb.base/constvars.exp
index 1cdc231..f9d1b24 100644
--- a/gdb/testsuite/gdb.base/constvars.exp
+++ b/gdb/testsuite/gdb.base/constvars.exp
@@ -79,7 +79,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 ".*main.*$gdb_prompt $" {}
+ -re ".*main.*$gdb_prompt $" {
+ pass "up from marker1"
+ }
-re ".*$gdb_prompt $" {
fail "up from marker1"
}
@@ -90,7 +92,9 @@ send_gdb "break marker1\n" ; gdb_expect -re ".*$gdb_prompt $"
fail "continue to marker1 (demangling)"
send_gdb "up\n"
gdb_expect {
- -re ".*main.*$gdb_prompt $" {}
+ -re ".*main.*$gdb_prompt $" {
+ pass "up from marker1"
+ }
-re ".*$gdb_prompt $" {
fail "up from marker1"
}