From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14172 invoked by alias); 10 Feb 2009 15:14:38 -0000 Received: (qmail 14162 invoked by uid 22791); 10 Feb 2009 15:14:37 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Feb 2009 15:14:29 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id n1AFEPT9000716; Tue, 10 Feb 2009 16:14:25 +0100 (CET) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id n1AFEOu1020070; Tue, 10 Feb 2009 16:14:24 +0100 (CET) Date: Tue, 10 Feb 2009 15:14:00 -0000 Message-Id: <200902101514.n1AFEOu1020070@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: drow@failse.org CC: gdb@sourceware.org Subject: Regression Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00077.txt.bz2 Hi Daniel, The following commit breaks the signal command on OpenBSD. Can you please revert it for now? 2009-01-20 Daniel Jacobowitz PR gdb/9346 * infcmd.c (signal_command): Do not specify a resume PC. Index: infcmd.c =================================================================== RCS file: /cvs/src/src/gdb/infcmd.c,v retrieving revision 1.230 retrieving revision 1.229 diff -u -p -r1.230 -r1.229 --- infcmd.c 20 Jan 2009 15:33:13 -0000 1.230 +++ infcmd.c 18 Jan 2009 17:42:16 -0000 1.229 @@ -1145,7 +1145,11 @@ signal_command (char *signum_exp, int fr } clear_proceed_status (); - proceed ((CORE_ADDR) -1, oursig, 0); + /* "signal 0" should not get stuck if we are stopped at a breakpoint. + FIXME: Neither should "signal foo" but when I tried passing + (CORE_ADDR)-1 unconditionally I got a testsuite failure which I haven't + tried to track down yet. */ + proceed (oursig == TARGET_SIGNAL_0 ? (CORE_ADDR) -1 : stop_pc, oursig, 0); } /* Proceed until we reach a different source line with pc greater than