On 09/06, Oleg Nesterov wrote:
>
> On 09/04, Oleg Nesterov wrote:
> >
> >     - implement continue with signal.
>
> There is something wrong. I tried to debug the ptraced task via ugdb,
> and the result is not good. I am not surprised ugdb confuses ptrace,
> but I didn't expect that ptrace can break ugdb.
>
> I am still trying to understand what is wrong, it should be something
> simple but somehow I can't explain the problem so far...

OK, I am stupid. Indeed, say, "return UTRACE_STOP | UTRACE_SIGNAL_IGN"
from under "case UTRACE_SIGNAL_REPORT" changes utrace_report->result,
and confuses other tracers.

Probably we can ignore ptrace, but this also means ugdb conflicts
with itself and should be fixed.

Oleg.

Reply via email to