This is the mail archive of the gdb-patches@sourceware.org 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: MI solib notification


>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:

>> 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.

Daniel> I see.  The comment in clear_solibs means that we will break SunOS
Daniel> a.out shared libraries if we do this; they were previously not
Daniel> disabled, since they won't ever be re-enabled.  So I suggest not
Daniel> making the observer call on a.out either.  Otherwise OK.

I actually already approved this hunk in another thread -- Paul
Pluzhnikov's recent patch.

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.

Tom


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