ptrace single-stepping change breaks Wine

Daniel Jacobowitz dan at
Thu Dec 30 23:38:22 CST 2004

On Thu, Dec 30, 2004 at 09:05:01PM -0800, Linus Torvalds wrote:
> On Thu, 30 Dec 2004, Jesse Allen wrote:
> > 
> > Well I tried this patch and it works. 
> Goodie. Are there other known problems with silly copy-protection 
> schemes?  It migth be worth testing.
> However:
> > Since I cannot spot any issue, the patch looks good.  Are there any
> > other test cases?
> Yes. It seems I broke "strace" with it. Probably the difference in system
> call trace reporting that Dan Jacobowitz already pointed out.
> Now, that should be easily handled by just separating out the cases of 
> system call tracing and debug trap handling, and using the old silly code 
> for system calls. I'd prefer a cleaner approach, but that seems to be the 
> sane thing to do for now.

Strace doesn't use PTRACE_SETOPTIONS as far as I can tell... so it must
be something different.

Daniel Jacobowitz

More information about the wine-devel mailing list