gdb and linuxthreads

H.J. Lu hjl@lucon.org
Wed Dec 2 09:17:00 GMT 1998


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)



More information about the Libc-hacker mailing list