Re: ptrace single-stepping change breaks Wine

From: Davide Libenzi
Date: Thu Dec 30 2004 - 00:12:05 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/