This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: How to use auto-solib-add properly?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andr? P?nitz <apoenitz at trolltech dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 7 Oct 2008 10:02:06 -0400
- Subject: Re: How to use auto-solib-add properly?
- References: <200810071228.21179.apoenitz@trolltech.com>
On Tue, Oct 07, 2008 at 12:28:13PM +0200, Andr? P?nitz wrote:
> My idea was to use
>
> set auto-solib-add off
> set stop-on-solib-events 1
>
> and whenever a "shared library event" is encountered I'd do:
>
> for all shared objects except some big ones that I want to avoid do:
> sharedlibrary <lib>
> continue
Sonds like it might work.
> Is there a way to find out what exactly triggered the shared lib event?
Not in any existing version of GDB, though this is on my wishlist.
--
Daniel Jacobowitz
CodeSourcery