This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2328] _dl_debug_state() RT_CONSISTENT called too early
- From: "roland at gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 Nov 2009 00:26:11 -0000
- Subject: [Bug libc/2328] _dl_debug_state() RT_CONSISTENT called too early
- References: <20060211192240.2328.jreiser@BitWagon.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From roland at gnu dot org 2009-11-21 00:26 -------
It occurs to me that now that we have STT_GNU_IFUNC, there is DSO code that can
run during the relocation phase (if LD_BIND_NOW). So perhaps we really should
not break after relocation, but still before.
The debugger can always put a breakpoint on the DSO's initializer function if it
wants. With init_array this could be a bunch of breakpoints to add, but it's
doable. Nothing should prevent you inserting breakpoints before relocation,
which is what this is really for.
Having libthread_db be happy at certain points is really a different story and
should not be misconstrued as an authentic driver for the ld.so breakpoint behavior.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2328
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.