This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/17381] Access TLS address space of inferior's threads from gdb
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 18 Sep 2014 12:44:13 +0000
- Subject: [Bug nptl/17381] Access TLS address space of inferior's threads from gdb
- Auto-submitted: auto-generated
- References: <bug-17381-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17381
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlos at redhat dot com
--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
I've been talking to some gdb folk and I think the best solution is one more
function added to libthread_db. While I don't think libthread_db is a good
solution for cross-debugging and more complex scenarios that we want to support
it *is* a good place to document via APIs all of the niggling things we need to
share between glibc<->gdb. So rather than have gdb hard code knowledge about
glibc, it should go in libthread_db, and eventually into some kind of
python/dwarf magic that is a data descriptivie way to express the same things
the API expresses.
To this end I'm going to add a new libthread_db function to get the module id
out of the link map and that should be enough for gdb to be able to write out
code to access TLS in the inferior.
--
You are receiving this mail because:
You are on the CC list for the bug.