2001-02-22 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* gdb.base/reread.exp: Unsupported for non-native targets; doesn't work for remote debugging.
This commit is contained in:
parent
b653e7f90a
commit
40f33b9b8e
|
@ -1,3 +1,8 @@
|
||||||
|
2001-02-22 Michael Snyder <msnyder@mvstp600e.cygnus.com>
|
||||||
|
|
||||||
|
* gdb.base/reread.exp: Unsupported for non-native targets;
|
||||||
|
doesn't work for remote debugging.
|
||||||
|
|
||||||
2001-02-19 Fernando Nasser <fnasser@redhat.com>
|
2001-02-19 Fernando Nasser <fnasser@redhat.com>
|
||||||
|
|
||||||
From Drew Moseley <dmoseley@redhat.com>
|
From Drew Moseley <dmoseley@redhat.com>
|
||||||
|
|
|
@ -98,17 +98,24 @@ gdb_test "shell touch ${binfile}" "" ""
|
||||||
# and reset the breakpoints correctly.
|
# and reset the breakpoints correctly.
|
||||||
# Should see "Breakpoint 1, foo () at reread2.c:9"
|
# Should see "Breakpoint 1, foo () at reread2.c:9"
|
||||||
|
|
||||||
gdb_run_cmd
|
if ![isnative] {
|
||||||
gdb_expect {
|
unsupported "run to foo() second time ";
|
||||||
# -re ".*re-reading symbols.*Breakpoint.* foo .* at .*$srcfile2:9.*$gdb_prompt $" {}
|
} else {
|
||||||
-re ".*Breakpoint.* foo .* at .*:9.*$gdb_prompt $" {
|
gdb_run_cmd
|
||||||
pass "run to foo() second time ";
|
gdb_expect {
|
||||||
|
# -re ".*re-reading symbols.*Breakpoint.* foo .* at .*$srcfile2:9.*$gdb_prompt $" {}
|
||||||
|
-re ".*Breakpoint.* foo .* at .*:9.*$gdb_prompt $" {
|
||||||
|
pass "run to foo() second time ";
|
||||||
|
}
|
||||||
|
-re ".*$gdb_prompt $" {
|
||||||
|
fail "run to foo() second time";
|
||||||
|
gdb_suppress_tests;
|
||||||
|
}
|
||||||
|
timeout {
|
||||||
|
fail "run to foo() second time (timeout)" ;
|
||||||
|
gdb_suppress_tests
|
||||||
|
}
|
||||||
}
|
}
|
||||||
-re ".*$gdb_prompt $" {
|
|
||||||
fail "run to foo() second time";
|
|
||||||
gdb_suppress_tests;
|
|
||||||
}
|
|
||||||
timeout { fail "run to foo() second time (timeout)" ; gdb_suppress_tests }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# End of tests.
|
# End of tests.
|
||||||
|
|
Loading…
Reference in New Issue