From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21847 invoked by alias); 6 Feb 2004 20:17:43 -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 21839 invoked from network); 6 Feb 2004 20:17:42 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 6 Feb 2004 20:17:42 -0000 Received: from toenail.toronto.redhat.com (toenail.toronto.redhat.com [172.16.14.211]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 95A7E8001D2; Fri, 6 Feb 2004 15:17:41 -0500 (EST) Received: from toenail.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by toenail.toronto.redhat.com (8.12.10/8.12.5) with ESMTP id i16KHbZU030237; Fri, 6 Feb 2004 15:17:38 -0500 Received: (from fche@localhost) by toenail.toronto.redhat.com (8.12.10/8.12.10/Submit) id i16KHYRO030233; Fri, 6 Feb 2004 15:17:35 -0500 X-Authentication-Warning: toenail.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: Jeff Johnston Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA]: pending breakpoint support [1/3] References: <400EE69A.5030902@redhat.com> <20040122222741.GA17425@nevyn.them.org> <4016CCE0.5060900@redhat.com> <20040130041316.GA28843@nevyn.them.org> <401AA79B.7010307@redhat.com> <20040130190927.GA19379@nevyn.them.org> <401ADEA3.6010500@redhat.com> <20040130234543.GA12519@nevyn.them.org> <401AF7E0.5020406@redhat.com> <401EBD31.9060907@redhat.com> <20040202212225.GA7982@nevyn.them.org> <401ECCB2.2010205@redhat.com> <4022B6B8.4020400@redhat.com> From: fche@redhat.com (Frank Ch. Eigler) Date: Fri, 06 Feb 2004 20:17:00 -0000 In-Reply-To: <4022B6B8.4020400@redhat.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Reasonable Discussion) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-02/txt/msg00124.txt.bz2 jjohnstn wrote: > +* Pending breakpoint support > + > +Support has been added to allow specifying breakpoints in shared libraries > +that have not yet been loaded. If a breakpoint location cannot be found, > +GDB queries you if you wish to make the breakpoint pending on a > +future shared-library load. If and when GDB resolves the breakpoint symbol, > +the pending breakpoint is removed as one or more regular breakpoints are > +created. Pending breakpoints are very useful for gcj java debugging. If I were to word this, it'd be something like: GDB now supports specifying breakpoints in shared libraries that have not yet been loaded. If GDB cannot find a breakpoint location the user specifies, it prompts for whether the breakpoint should be deferred, pending a future shared library load. If and when GDB resolves the symbol, it replaces the pending breakpoint with a regular breakpoint. This feature is very useful for gcj java and sid debugging. (Does it undo this pending->regular mapping when the shlib is unloaded?) (Oops, somehow that sid comment slipped in. :-) - FChE