From: Andrew Cagney <cagney@gnu.org>
To: Ulrich Weigand <weigand@i1.informatik.uni-erlangen.de>
Cc: gdb-patches@sources.redhat.com
Subject: [commit] Zap XPASS from watchpoints.exp; Was: [PATCH] Remove XPASS on s390*
Date: Mon, 22 Mar 2004 14:41:00 -0000 [thread overview]
Message-ID: <405EFAF9.9000906@gnu.org> (raw)
In-Reply-To: <200403171918.UAA09557@faui1d.informatik.uni-erlangen.de>
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
> Hello,
>
> this patch removes an XPASS in the gdb.base/watchpoint.exp test case
> by calling clear_xfail for s390* (as is already done for many other
> targets).
Hmm, you tripped over a landmine :-(. In the past many of GDB's
testcases were incorrectly XFAILed (as a way of hiding design flaws that
were thought to be unfixable / or the individual had no intention of
fixing ...). XFAIL only applies to problems eXternal to GDB (OS bugs,
...) which these are not.
I've removed the offending XFAIL junk.
Andrew
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1767 bytes --]
2004-03-22 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
Problem identified by Ulrich Weigand.
Index: gdb.base/watchpoint.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/watchpoint.exp,v
retrieving revision 1.10
diff -u -r1.10 watchpoint.exp
--- gdb.base/watchpoint.exp 6 Oct 2003 19:31:43 -0000 1.10
+++ gdb.base/watchpoint.exp 22 Mar 2004 14:23:09 -0000
@@ -374,31 +374,8 @@
gdb_test "break func2 if 0" "Breakpoint.*at.*"
gdb_test "p \$func2_breakpoint_number = \$bpnum" " = .*"
- # The problem is that GDB confuses stepping through the call
- # dummy with hitting the breakpoint at the end of the call dummy.
- # Will be fixed once all architectures define
- # DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
- setup_xfail "*-*-*"
- # This doesn't occur if the call dummy starts with a call,
- # because we are out of the dummy by the first time the inferior
- # stops.
- clear_xfail "arm*-*-*"
- clear_xfail "xscale*-*-*"
- clear_xfail "d10v*-*-*"
- clear_xfail "m68*-*-*"
- clear_xfail "i*86*-*-*"
- clear_xfail "vax-*-*"
- # The following architectures define DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
- clear_xfail "alpha-*-*"
- clear_xfail "mips*-*-*"
- clear_xfail "sparc-*-*"
- clear_xfail "hppa*-*-*bsd*"
- # It works with the generic inferior function calling code too.
- clear_xfail "mn10300*-*-*"
- # The following architectures define CALL_DUMMY_HAS_COMPLETED.
- clear_xfail "hppa*-*-*hpux*"
gdb_test "p func1 ()" "= 73" \
- "calling function with watchpoint enabled"
+ "calling function with watchpoint enabled"
#
# "finish" brings us back to main.
next prev parent reply other threads:[~2004-03-22 14:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-17 19:18 Ulrich Weigand
2004-03-19 0:09 ` Ulrich Weigand
2004-03-22 14:41 ` Andrew Cagney [this message]
2004-03-22 19:08 ` [commit] Zap XPASS from watchpoints.exp; Was: [PATCH] Remove XPASS Ulrich Weigand
2004-03-22 19:22 ` Andrew Cagney
2004-03-22 19:39 ` [commit] Zap XPASS from watchpoints.exp; Was: [PATCH] Remove Ulrich Weigand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=405EFAF9.9000906@gnu.org \
--to=cagney@gnu.org \
--cc=gdb-patches@sources.redhat.com \
--cc=weigand@i1.informatik.uni-erlangen.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox