This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA]: XFAIL "reread" test for remote targets.
- To: gdb-patches at sources dot redhat dot com
- Subject: [RFA]: XFAIL "reread" test for remote targets.
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Thu, 22 Feb 2001 17:16:31 -0800
- Organization: Red Hat
This test only works with the "run" command, therefore will not work on any
remote target. This change sets up an xfail for any gdb stub target.
2001-02-22 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* gdb.base/reread.exp: XFAIL for stub targets;
doesn't work for remote debugging.
Index: gdb.base/reread.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/reread.exp,v
retrieving revision 1.2
diff -c -3 -p -r1.2 reread.exp
*** reread.exp 2000/11/17 16:37:48 1.2
--- reread.exp 2001/02/23 01:14:29
*************** gdb_test "shell touch ${binfile}" "" ""
*** 98,103 ****
--- 98,109 ----
# and reset the breakpoints correctly.
# Should see "Breakpoint 1, foo () at reread2.c:9"
+ # NOTE: This test will not be expected to work on a remote target.
+ if { [target_info exists use_gdb_stub] || \
+ [target_info exists gdb_stub] } then {
+ setup_xfail "*-*-*"
+ }
+
gdb_run_cmd
gdb_expect {
# -re ".*re-reading symbols.*Breakpoint.* foo .* at .*$srcfile2:9.*$gdb_prompt $" {}