This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to use auto-solib-add properly?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]