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 11:11:04PM +0300, Vladimir Prus wrote:
> Can you write down the comment that disable_breakpoints_in_unloaded_shlib
> would have to contain to explain all this? ;-) I assume it will go like this:
>
> Don't emit any message here for a.out, because for all the other
> targets some other code calls some other function that arranges for
> this message to not be printed when rerunning the program...
>
> In other words, the problem with checking for a.out is that it deeply depends on
> intricate details of some other code.
It's not about the message, but about the disabling. I mean:
/* SunOS a.out shared libraries are always mapped, so do not
disable breakpoints; they will only be reported as unloaded
through clear_solib when GDB discards its shared library
list. See clear_solib for more information. */
--
Daniel Jacobowitz
CodeSourcery