* 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.
+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.
+
2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* gdb.base/constvars.exp: Test result of "up" command.
-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"
}
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"
}
-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"
}
-re "Break.* marker1 \\(\\) at .*:$decimal.*$gdb_prompt $" {
send_gdb "up\n"
gdb_expect {
- -re ".*more_code.*$gdb_prompt $" {}
+ -re ".*more_code.*$gdb_prompt $" {
+ pass "up from marker1"
+ }
-re ".*$gdb_prompt $" {
fail "up from marker1"
}
-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"
}
-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"
}
send_gdb "up\n"
gdb_expect {
-re ".*main.*$gdb_prompt $" { pass "up from marker1" }
- -re ".*$gdb_prompt $" { fail "up from marker1" }
+ -re ".*$gdb_prompt $" { fail "up from marker1" }
timeout { fail "up from marker1 (timeout)" }
}
}
-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"
}
-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"
}
-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 $" {
+ pass "up from marker1"
+ }
+ -re ".*$gdb_prompt $" {
+ fail "up from marker1"
+ }
+ timeout { fail "up from marker1 (timeout)" }
}
}
-re "$gdb_prompt $" { fail "continue to marker1" }
-re "Break.* f \\(\\) at .*:$decimal.*$gdb_prompt $" {
send_gdb "up\n"
gdb_expect {
- -re ".*$gdb_prompt $" {}
- timeout { fail "up from f" }
+ -re ".*main2.*$gdb_prompt $" {
+ pass "up from f"
+ }
+ -re ".*$gdb_prompt $" {
+ fail "up from f"
+ }
+ timeout { fail "up from f (timeout)" }
}
}
-re "$gdb_prompt $" { fail "continue to f" }