How to use auto-solib-add properly?

Daniel Jacobowitz
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

More information about the Gdb mailing list