How to use auto-solib-add properly?

Daniel Jacobowitz drow@false.org
Tue Oct 7 14:02:00 GMT 2008


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



More information about the Gdb mailing list