[rfc] Print solib events in mi-mode

Andrew Cagney ac131313@redhat.com
Tue Jul 8 21:02:00 GMT 2003


> What do you think of something like this?  When stop-on-solib-events is set,
> this will print the reason as being a shared-lib-event.
> 
> Our Eclipse team wants to be able to set breakpoints in shared libraries
> that aren't loaded yet.  If they get notification of shlib-events, then they
> can re-examine the list of loaded libraries and set any breakpoints that
> have been enabled in the project's libs.

See: [RFC] add 'save-breakpoints' command
http://sources.redhat.com/ml/gdb-patches/2001-12/threads.html#00114
(but check for other related threads).

The resolution was interesting, instead of adding a new command, modify 
the existing command so that it would add breakpoints that would be 
automatically enabled later.

Andrew

(although the patch is probably also useful)




More information about the Gdb mailing list