From: Daniel Jacobowitz <drow@false.org>
To: Andrew Cagney <cagney@gnu.org>
Cc: mec.gnu@mindspring.com, Mark Kettenis <kettenis@chello.nl>,
gdb-patches@sources.redhat.com
Subject: Re: [testsuite] Kfail signals.exp failures
Date: Mon, 09 Aug 2004 15:18:00 -0000 [thread overview]
Message-ID: <20040809151800.GA3986@nevyn.them.org> (raw)
In-Reply-To: <41178316.7000906@gnu.org>
On Mon, Aug 09, 2004 at 09:58:46AM -0400, Andrew Cagney wrote:
> >On Mon, Aug 09, 2004 at 09:45:49AM +0200, Mark Kettenis wrote:
> >
> >>> Date: Sun, 8 Aug 2004 19:18:10 -0400
> >>> From: Daniel Jacobowitz <drow@false.org>
> >>>
> >>> 2004-08-08 Daniel Jacobowitz <dan@debian.org>
> >>>
> >>> PR gdb/1738
> >>> * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
> >>> from a breakpoint with a pending signal.
> >>>
> >>>Hmm, SPARC doesn't have hardware single-step. Solaris SPARC has
> >>>single-stepping implemented in the kernel, but all other OS'es don't
> >>>have that.
> >
> >
> >I wonder if this test passes anywhere? Thinking about it again, the
> >software singlestep breakpoint is inserted when !breakpoints_inserted,
> >so the same problem should apply.
>
> Yep. The existing test passes on s390 GNU/Linux:
> http://sources.redhat.com/ml/gdb-testers/2004-q3/msg00068.html
> and my local PPC NetBSD machine. Both have h/w single-step. See
> breakpoints/1702.
>
> You appear to have found a new bug. Given all the potential
> combinations of step / next / continue VS breakpoint at/in handler VS
> handle its self, we may want to split this out of signals.exp and into a
> new expanded test file. Either way, a new test is needed.
>
> BTW, does sigbpt.exp pass? It's testing a related stepi edge case.
>
> Michael, those KFAILs are not correct.
Yes, sigbpt.exp passes.
breakpoints/1702 is about the tendency of ia32 hardware to step two
instructions over int $0x80. That does not affect this test case; see
the analysis in gdb/1738.
Please explain why the KFAILs are not correct, or why a new test is
needed. This is a bug in GDB; I analyzed the bug, filed a bug report,
and marked the test which fails because of this bug as KFAILed to the
PR. Judging from the historical use of XFAIL, this is the precise bug
that the test was written for.
My analysis does not explain why it passes on S/390, or on PPC. If you
want to, then remove the PPC kfail.
--
Daniel Jacobowitz
next prev parent reply other threads:[~2004-08-09 15:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-08 23:18 Daniel Jacobowitz
2004-08-09 7:00 ` Michael Chastain
2004-08-09 13:18 ` Daniel Jacobowitz
2004-08-09 7:46 ` Mark Kettenis
2004-08-09 13:11 ` Daniel Jacobowitz
2004-08-09 13:58 ` Andrew Cagney
2004-08-09 15:18 ` Daniel Jacobowitz [this message]
2004-08-09 16:17 ` Andrew Cagney
2004-08-09 16:44 ` Michael Chastain
2004-08-24 22:35 ` Andrew Cagney
2004-08-27 18:42 ` Mark Kettenis
2004-08-09 19:43 ` Andreas Schwab
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=20040809151800.GA3986@nevyn.them.org \
--to=drow@false.org \
--cc=cagney@gnu.org \
--cc=gdb-patches@sources.redhat.com \
--cc=kettenis@chello.nl \
--cc=mec.gnu@mindspring.com \
/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