Messages in this thread | | | Date | Tue, 13 Jul 2004 09:23:44 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH] x86-64 singlestep through sigreturn system call |
| |
On Mon, 12 Jul 2004 17:22:30 -0700 Roland McGrath <roland@redhat.com> wrote:
> This patch fixes the problem by forcing a fake single-step trap at the end > of rt_sigreturn when PTRACE_SINGLESTEP was used to enter the system call.
I don't like this very much, see previous mail.
If you really wanted to do it:
Wouldn't it be simpler to just copy the TF bit from the previous Eflags? This special case looks quite ugly.
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |