This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
gdb and linuxthreads
- To: libc-hacker@cygnus.com (GNU C Library)
- Subject: gdb and linuxthreads
- From: hjl@lucon.org (H.J. Lu)
- Date: Wed, 2 Dec 1998 09:11:53 -0800 (PST)
Hi,
Does anyone know who wrote the linuxthreads support for gdb? It assumes
__pthread_sig_restart and __pthread_sig_cancel always hold the values
determined at the link time. It is true for glibc 2.0. It is incorrect
for glibc 2.1. gdb needs to get those values after the thread runs but
before main () is called. Does anyone have a patch?
Thanks.
--
H.J. Lu (hjl@gnu.org)