public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Question about _dl_debug_state and new glibc
@ 2004-10-11 18:54 Randolph Chung
  2004-10-11 19:03 ` Kevin Buettner
  0 siblings, 1 reply; 6+ messages in thread
From: Randolph Chung @ 2004-10-11 18:54 UTC (permalink / raw)
  To: gdb

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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-10-11 19:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-11 18:54 Question about _dl_debug_state and new glibc Randolph Chung
2004-10-11 19:03 ` Kevin Buettner
2004-10-11 19:14   ` Daniel Jacobowitz
2004-10-11 20:47     ` Mark Kettenis
2004-10-12  6:57       ` Daniel Jacobowitz
2004-10-11 22:00     ` Kevin Buettner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).