Re: ptrace single-stepping change breaks Wine

Davide Libenzi
2004-12-30T05:08:32Z

On Wed, 29 Dec 2004, Linus Torvalds wrote:

> On Wed, 29 Dec 2004, Linus Torvalds wrote:
> >
> > .. no, I see what's up. System call returns _are_ special for
> > single-stepping. I'll think about it..
>
> Ok, I think I know what's up.
>
> It's literally the bogus fake signal that do_syscall_trace() sends. I
> think the TIF_SINGLESTEP case in do_syscall_trace() should only do the
> ptrace_notify() and return..

I think same. My test simply let the function processing to let thru and
reach the fake signal sending point.

- Davide