This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MI solib notification
On Thu, Feb 12, 2009 at 06:01:54PM +0300, Vladimir Prus wrote:
> Yes, this runs everywhere except a.out and marks all breakpoints in solibs
> disabled, without printing any messages. *Then* we look over all solibs
> and call observer, but since all breakpoints are already disabled,
> breakpoint.c:disable_breakpoints_in_unloaded_shlib won't do anything,
> and won't say anything either.
I see. The comment in clear_solibs means that we will break SunOS
a.out shared libraries if we do this; they were previously not
disabled, since they won't ever be re-enabled. So I suggest not
making the observer call on a.out either. Otherwise OK.
--
Daniel Jacobowitz
CodeSourcery