This is the mail archive of the gdb@sources.redhat.com 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: [rfc] Print solib events in mi-mode


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)



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