From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1032 invoked by alias); 2 Feb 2009 15:20:34 -0000 Received: (qmail 1024 invoked by uid 22791); 2 Feb 2009 15:20:33 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from web36205.mail.mud.yahoo.com (HELO web36205.mail.mud.yahoo.com) (209.191.68.231) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Mon, 02 Feb 2009 15:20:27 +0000 Received: (qmail 82885 invoked by uid 60001); 2 Feb 2009 15:20:26 -0000 Received: from [123.238.99.146] by web36205.mail.mud.yahoo.com via HTTP; Mon, 02 Feb 2009 07:20:26 PST Date: Mon, 02 Feb 2009 15:20:00 -0000 From: paawan oza Reply-To: paawan1982@yahoo.com Subject: Re: gdb internal error SIGINT/SIGSTOP To: Daniel Jacobowitz Cc: gdb@sourceware.org In-Reply-To: <20090202150506.GB11602@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <451036.82395.qm@web36205.mail.mud.yahoo.com> 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/msg00017.txt.bz2 Hello, I completely understand, and I appreciate what you have said. but is it possible to answer following ? 1) in what all situation gdb_assert (pid == GET_LWP (lp->ptid)) could come (I am using gdb-6.7) I do not expect too much technical internal details of gdb here... but at an abstract level, if it is possible to explain. 2) I would like to contribute in open source for reversible debugging. but I am not getting any clue how I can start and where to go ahead ? would you please guide me ? Regards, ..Paawan. --- On Mon, 2/2/09, Daniel Jacobowitz wrote: > From: Daniel Jacobowitz > Subject: Re: gdb internal error SIGINT/SIGSTOP > To: "paawan oza" > Cc: gdb@sourceware.org > Date: Monday, February 2, 2009, 8:35 PM > 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