From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1134 invoked by alias); 3 Apr 2006 21:27:18 -0000 Received: (qmail 1126 invoked by uid 22791); 3 Apr 2006 21:27:17 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 03 Apr 2006 21:27:17 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FQWZr-00049K-Mh; Mon, 03 Apr 2006 17:27:11 -0400 Date: Mon, 03 Apr 2006 21:27:00 -0000 From: Daniel Jacobowitz To: Pupeno Cc: gdb@sourceware.org Subject: Re: debugging dynamically loadable code Message-ID: <20060403212711.GA15936@nevyn.them.org> Mail-Followup-To: Pupeno , gdb@sourceware.org References: <200604031809.35814.pupeno@pupeno.com> <20060403163456.GA9232@nevyn.them.org> <200604032321.42906.pupeno@pupeno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200604032321.42906.pupeno@pupeno.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00014.txt.bz2 On Mon, Apr 03, 2006 at 11:21:35PM +0200, Pupeno wrote: > On Monday, 3 de April de 2006 18:34, Daniel Jacobowitz wrote: > > On Mon, Apr 03, 2006 at 06:09:33PM +0200, Pupeno wrote: > > > Any ideas how can I do my debugging ? > > > > You can do one of two things here: > > > > - "set stop-on-solib-events 1". This will cause GDB to stop when > > shared libraries are loaded or unloaded. You can use "info shared" to > > see if the library you want has been loaded after a stop. > It halted the process very soon, maybe some loading I was not aware of and I > was not sure how to continue. You can just say continue and try info shared again, until you see the library you want. Anyway, if pending breakpoints work for you, use those instead. -- Daniel Jacobowitz CodeSourcery