From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23675 invoked by alias); 2 Feb 2009 15:05:11 -0000 Received: (qmail 23666 invoked by uid 22791); 2 Feb 2009 15:05:11 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Feb 2009 15:05:08 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id A0EE6107F4; Mon, 2 Feb 2009 15:05:06 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 8966910781; Mon, 2 Feb 2009 15:05:06 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1LU0ME-0003QE-7y; Mon, 02 Feb 2009 10:05:06 -0500 Date: Mon, 02 Feb 2009 15:05:00 -0000 From: Daniel Jacobowitz To: paawan oza Cc: gdb@sourceware.org Subject: Re: gdb internal error SIGINT/SIGSTOP Message-ID: <20090202150506.GB11602@caradoc.them.org> Mail-Followup-To: paawan oza , gdb@sourceware.org References: <735532.80747.qm@web36208.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <735532.80747.qm@web36208.mail.mud.yahoo.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes 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/msg00016.txt.bz2 On Mon, Feb 02, 2009 at 06:47:02AM -0800, paawan oza wrote: > Hello, > > I have been modifying gdb for past couple of months. > I am trying to keep process always running and user should be able to type commands. Please look at the non-stop debuging which is supported in HEAD. You will have to change a lot of the same things that non-stop did. > when I have breakpoints on threads.... > and if main/CLONEs thread is stopped due to breakpoint and if I send > SIGINT/SIGSTOP to the main thread.... > eventually I end up getting interrnal gdb assertion error. > gdb_assert (pid == GET_LWP (lp->ptid)); Sorry, there is no way for us to know the answer to this question since you have made extensive changes to your GDB. -- Daniel Jacobowitz CodeSourcery