breakpoints in shared libraries
Tom Tromey
tromey@redhat.com
Tue Nov 13 10:11:00 GMT 2001
>>>>> "Daniel" == Daniel Jacobowitz <drow@mvista.com> writes:
>> How can this be fixed? I don't know the answer. One idea I had is to
>> annotate each breakpoint with information about what shared library it
>> comes from. Then, defer processing for that breakpoint until the
>> shared library is actually loaded by the inferior.
Daniel> I think the best approach for this is to expose an interface
Daniel> to create shlib_disabled breakpoints. Then they'll be
Daniel> automatically re-enabled when the library containing that
Daniel> symbol is loaded.
One thing to think about is how Insight will determine that it should
save a breakpoint as shlib_disabled as opposed to the ordinary kind.
At the time Insight is saving the session, all libraries may be loaded
and all the breakpoints activated.
Tom
More information about the Gdb
mailing list