mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
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.
This commit is contained in:
parent
660fd4696e
commit
3c077de93f
@ -1,3 +1,14 @@
|
||||
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.
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -69,7 +69,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"
|
||||
}
|
||||
|
@ -371,7 +371,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 ".*more_code.*$gdb_prompt $" {}
|
||||
-re ".*more_code.*$gdb_prompt $" {
|
||||
pass "up from marker1"
|
||||
}
|
||||
-re ".*$gdb_prompt $" {
|
||||
fail "up from marker1"
|
||||
}
|
||||
|
@ -76,7 +76,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"
|
||||
}
|
||||
|
@ -68,7 +68,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"
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ send_gdb "break marker1\n" ; gdb_expect -re ".*$gdb_prompt $"
|
||||
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)" }
|
||||
}
|
||||
}
|
||||
|
@ -68,7 +68,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"
|
||||
}
|
||||
|
@ -61,7 +61,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"
|
||||
}
|
||||
@ -101,8 +103,13 @@ 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 $" {
|
||||
pass "up from marker1"
|
||||
}
|
||||
-re ".*$gdb_prompt $" {
|
||||
fail "up from marker1"
|
||||
}
|
||||
timeout { fail "up from marker1 (timeout)" }
|
||||
}
|
||||
}
|
||||
-re "$gdb_prompt $" { fail "continue to marker1" }
|
||||
@ -290,8 +297,13 @@ send_gdb "break f\n" ; gdb_expect -re ".*$gdb_prompt $"
|
||||
-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" }
|
||||
|
Loading…
Reference in New Issue
Block a user