From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29923 invoked by alias); 1 Oct 2003 14:48:35 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 29912 invoked from network); 1 Oct 2003 14:48:34 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 1 Oct 2003 14:48:34 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 1A4hfA-0000zg-V2; Wed, 01 Oct 2003 10:09:08 -0400 Date: Wed, 01 Oct 2003 14:48:00 -0000 From: Daniel Jacobowitz To: ramana@codito.com Cc: gdb@sources.redhat.com, jimb@redhat.com, ac131313@redhat.com, saurabh.verma@codito.com, ankit.thukral@codito.com, mark.newman@lmco.com Subject: Re: Tracepoints with shared lib. support. Message-ID: <20031001140908.GA3720@nevyn.them.org> Mail-Followup-To: ramana@codito.com, gdb@sources.redhat.com, jimb@redhat.com, ac131313@redhat.com, saurabh.verma@codito.com, ankit.thukral@codito.com, mark.newman@lmco.com References: <1064924214.3808.157.camel@numenor.codito.co.in> <20030930125017.GA23342@nevyn.them.org> <1065006023.3808.300.camel@numenor.codito.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1065006023.3808.300.camel@numenor.codito.co.in> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-10/txt/msg00023.txt.bz2 On Wed, Oct 01, 2003 at 04:30:23PM +0530, Ramana Radhakrishnan wrote: > hi all, > > Another query i had was regarding tracepoints on shared library > symbols. That would also have to be handled in a manner similar to the > way in which the breakpoints for shared libraries have been implemented. > I wonder if we need internal breakpoints on the shared library event > handling which would then take care of mapping the addresses to the > actual addresses because with the current status of tracepoints the > addresses do not get mapped to the actual addresses. So if we had a > tracepoint on a function in a shared library would we then not be > increasing the number of halts in the actual execution of the program. Well, tracepoints haven't been made to work with shared libraries yet, that's true. But it should be possible to enable/disable/move them at the same time as breakpoints. There are always stops when loading a shared library, and you'll have a whole lot of work cut out for you if you want to change that. So the tracepoints don't increase the number of halts. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer