PATCH: Updated patch for strace to work with LinuxThreads programs

Ganesan Rajagopal rganesan at
Tue Apr 10 11:04:37 UTC 2001

Patch attached. I've moved checking for standard signals (SIGSTOP, SIGCONT)
etc to the beginning of sigishandled() since this catches the common case
and is therefore more efficient.

Patch Summary:
/proc/pid/stat does not reflect the status of real-time signals, so strace
exits abruptly when tracing LinuxThreads programs. This patch makes strace
to read /proc/pid/status instead.


R. Ganesan (rganesan at       | Ph: 91-80-5731856 Ext: 2149
Novell India Development Center.       | #include <std_disclaimer.h>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signal.c
Type: text/x-csrc
Size: 37509 bytes
Desc: Patch for signal.c
URL: <>

More information about the Strace-devel mailing list