PATCH: Updated patch for strace to work with LinuxThreads programs

Ganesan Rajagopal rganesan at myrealbox.com
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.

Ganesan

-- 
R. Ganesan (rganesan at novell.com)       | 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: <http://lists.strace.io/pipermail/strace-devel/attachments/20010410/a5714508/attachment.bin>


More information about the Strace-devel mailing list