Skip early event

Carmelo AMOROSO carmelo.amoroso at
Tue Feb 19 10:10:14 UTC 2008

Daniel Jacobowitz wrote:
> This patch skips the first call to _dl_debug_state.  This one's
> troublesome, because we have a non-empty list of shared libraries
> (it's got the application on it), but we don't have the
> interpreter on the list yet.  So the current location is code
> that the debugger doesn't have symbols for.
> In a perfect world this works anyway and the debugger doesn't mind
> not having symbols.  In practice this is the second time I've
> encountered a uClibc-only bug because of this call so I would suggest
> removing it.  Glibc doesn't call _dl_debug_state until it is ready
> to initialize directly linked and preloaded libraries.
Hello Daniel,
I'm interested to know what kind of bug you had, segfault on gdbserver ?
or whatever, just to see if it is the same kind of strange behavior
I've seen in the past on my uclibc.
Let me know


More information about the uClibc mailing list