[Bug 162774] strace ignores int3 SIGTRAP
bugzilla at redhat.com
bugzilla at redhat.com
Mon May 23 19:41:55 UTC 2011
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=162774
Denys Vlasenko <dvlasenk at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |MODIFIED
--- Comment #14 from Denys Vlasenko <dvlasenk at redhat.com> 2011-05-23 15:41:47 EDT ---
Fixed in git:
commit 3454e4b463e6c22c7ea8c5461ef5a077f4650a54
Author: Denys Vlasenko <dvlasenk at redhat.com>
Date: Mon May 23 21:29:03 2011 +0200
Properly handle real SIGTRAPs.
* defs.h (ptrace_setoptions): Variable renamed to
ptrace_setoptions_followfork.
* process.c (internal_fork): Ditto.
* strace.c (ptrace_setoptions_for_all): New variable.
(SYSCALLTRAP): New variable.
(error_msg_and_die): New function.
(test_ptrace_setoptions_for_all): New function.
(main): Call test_ptrace_setoptions_for_all() at init.
(handle_ptrace_event): Handle PTRACE_EVENT_EXEC (by ignoring it).
(trace): Check events and set ptrace options without -f too.
Check WSTOPSIG(status) not for SIGTRAP, but for SYSCALLTRAP.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the triage
mailing list