This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

question about _dl_debug_state in new glibc


Hello,

While doing some testing with glibc and gdb recently, I ran into
a problem where gdb was no longer able to locate the _dl_debug_state
function in glibc to track shared object loads.  After some digging I 
found that there was a change in glibc some months ago that changed the 
visibility of _dl_debug_state to "hidden".

Can somebody please explain why this was done? I know there is an
"exported" interface for looking for this function by going through
r_debug.r_brk, but, as documented in the glibc code, gdb doesn't do
this. While one might argue this is a gdb bug that needs fixing,
breaking compatibility with a major consumer of this interface 
is not very nice either....

thanks,
randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/


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