From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18195 invoked by alias); 9 Aug 2004 15:18:05 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18188 invoked from network); 9 Aug 2004 15:18:04 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 9 Aug 2004 15:18:04 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BuBuU-00018a-0j; Mon, 09 Aug 2004 11:18:02 -0400 Date: Mon, 09 Aug 2004 15:18:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: mec.gnu@mindspring.com, Mark Kettenis , gdb-patches@sources.redhat.com Subject: Re: [testsuite] Kfail signals.exp failures Message-ID: <20040809151800.GA3986@nevyn.them.org> Mail-Followup-To: Andrew Cagney , mec.gnu@mindspring.com, Mark Kettenis , gdb-patches@sources.redhat.com References: <20040808231810.GA24826@nevyn.them.org> <200408090745.i797jnFc000594@elgar.kettenis.dyndns.org> <20040809131105.GA27539@nevyn.them.org> <41178316.7000906@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41178316.7000906@gnu.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-08/txt/msg00312.txt.bz2 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 > >>> > >>> 2004-08-08 Daniel Jacobowitz > >>> > >>> 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