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 10:35:29AM -0700, Tom Tromey wrote:
> I actually already approved this hunk in another thread -- Paul
> Pluzhnikov's recent patch.
Oh, interesting.
> My rationale for approving it was that for this observer to be
> reliable, it has to be called every place an so is freed. I was even
> thinking the call should probably be pushed into free_so.
>
> Now I'm thinking I don't understand this code as well as I thought I
> did :}. I hope I didn't cause too much trouble.
I agree with your rationale. I almost suggested we push the aout
check down into disable_breakpoints_in_unloaded_shlib... what do you
think?
--
Daniel Jacobowitz
CodeSourcery