Re: ptrace in 2.6.5

From: OGAWA Hirofumi
Date: Mon May 10 2004 - 17:56:24 EST

OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> writes:

> So single-step exception happen *after* executed the "mov ...".
> Probably you need to use the breakpoint instead of single-step.

Ah, sorry. Just use PTRACE_SYSCALL instead of PTRACE_SINGLESTEP.
It's will stop before/after does syscall.
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at