This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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 and new glibc


Hi all,

I've been away from gdb for a bit, so hopefully this is not something
simple I missed while I've been away :)

It appears that newer versions of glibc now marks the _dl_debug_state
function as hidden, making it not visible to gdb. This breaks the
solib tracking code in solib-svr4.c.....

Looking at the docs, it looks like the "proper" way for gdb to do this
is to look up the r_debug symbol and use the r_brk member to locate 
_dl_debug_state's address. is there any particular reason why we don't
do this in gdb?

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]