This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug threads/11795] Support __thread variables without libpthread
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 15 Jul 2012 18:30:11 +0000
- Subject: [Bug threads/11795] Support __thread variables without libpthread
- Auto-submitted: auto-generated
- References: <bug-11795-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=11795
Jan Kratochvil <jan.kratochvil at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-07-15
CC| |jan.kratochvil at redhat
| |dot com
Ever Confirmed|0 |1
--- Comment #5 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2012-07-15 18:30:11 UTC ---
By Roland McGrath f2f, IIUC:
GDB can already iterate TIDs based on readdir(/proc/PID/task/).
Just TID->pthread_t translation and TLS variables access has currently no
equaivalent without libthread_db.
Therefore drop libthread_db, Roland proposes / will accept Python based
equivalent. Even drop libthread_db from gdbserver, Python can run at GDB (not
at gdbserver) as libthread_db-like-Python-implementation has no arch dependency
like libthread_db.so has, it can run from client GDB with small gdbserver
protocol extension packet for PTRACE_GET_THREAD_AREA and maybe some others.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.