aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2001-02-23 19:04:40 +0000
committerMichael Snyder <msnyder@vmware.com>2001-02-23 19:04:40 +0000
commit40f33b9b8eabcb4a4d97d4aa6b4979a8e2ae2d1c (patch)
tree7453f556a8e84f149b40432db28cb7930166e0be /gdb/testsuite/gdb.base
parentb653e7f90a423e65765c54f09e6170927cdd2b75 (diff)
downloadgdb-40f33b9b8eabcb4a4d97d4aa6b4979a8e2ae2d1c.zip
gdb-40f33b9b8eabcb4a4d97d4aa6b4979a8e2ae2d1c.tar.gz
gdb-40f33b9b8eabcb4a4d97d4aa6b4979a8e2ae2d1c.tar.bz2
2001-02-22 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* gdb.base/reread.exp: Unsupported for non-native targets; doesn't work for remote debugging.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/reread.exp27
1 files changed, 17 insertions, 10 deletions
diff --git a/gdb/testsuite/gdb.base/reread.exp b/gdb/testsuite/gdb.base/reread.exp
index b76fc5a..fda9a3b 100644
--- a/gdb/testsuite/gdb.base/reread.exp
+++ b/gdb/testsuite/gdb.base/reread.exp
@@ -98,17 +98,24 @@ gdb_test "shell touch ${binfile}" "" ""
# and reset the breakpoints correctly.
# Should see "Breakpoint 1, foo () at reread2.c:9"
-gdb_run_cmd
-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;
+if ![isnative] {
+ unsupported "run to foo() second time ";
+} else {
+ gdb_run_cmd
+ 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
+ }
}
- timeout { fail "run to foo() second time (timeout)" ; gdb_suppress_tests }
}
# End of tests.