This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: breaks at thread create and delete fail on PPC64/Linux
On Tue, Aug 29, 2006 at 09:03:31PM +0200, Mark Kettenis wrote:
> > Here's my question: why isn't that happening already? Don't we get
> > shared library events after relocation processing? Or do we get one
> > before and one after?
>
> Normally we get an event right before a shared library and its
> dependencies is loaded and right after. At that last event things are
> supposed to be in a consistent state, so relocations should have been
> processed (except for relocations to be resilved by lazy binding of
> course).
Is one of these before constructors and the other after, do you know?
How about relocation processing? We really want to insert these
breakpoints before constructors; it's not unheard of to create a thread
in a shared library constructor.
--
Daniel Jacobowitz
CodeSourcery