[PATCH 52] implement UTRACE_SIGNAL_HANDLER stepping

Roland McGrath roland at redhat.com
Wed Sep 23 00:51:13 UTC 2009


> We do not set context->siginfo = info, this would be wrong because
> we do not report a signal. I wonder how the tracer can distinguish
> this case from the real SIGTRAP.

Just like other ptrace_notify() cases, only by checking details like
.si_code=0 vs known TRAP_* values that a real hardware-generated SIGTRAP
gives you.

> This is sad, because this just means we don't have enough tests...

You're a man who likes a challenge! ;-)


Thanks,
Roland




More information about the utrace-devel mailing list