From: Andi Kleen <ak@suse.de>
To: Roland McGrath <roland@redhat.com>
Cc: akpm@osdl.org, torvalds@osdl.org, linux-kernel@vger.kernel.org,
jparadis@redhat.com, cagney@redhat.com
Subject: Re: [PATCH] x86-64 singlestep through sigreturn system call
Date: Tue, 13 Jul 2004 09:23:44 +0200 [thread overview]
Message-ID: <20040713092344.39ea00a3.ak@suse.de> (raw)
In-Reply-To: <200407130022.i6D0MUdI023333@magilla.sf.frob.com>
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
next prev parent reply other threads:[~2004-07-13 7:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-13 0:22 [PATCH] x86-64 singlestep through sigreturn system call Roland McGrath
2004-07-13 7:23 ` Andi Kleen [this message]
2004-07-15 0:56 ` Roland McGrath
2004-07-15 5:46 ` Andi Kleen
2004-07-15 21:13 ` Roland McGrath
2004-07-15 22:06 ` Andi Kleen
2004-07-15 23:57 ` Roland McGrath
[not found] <2imAA-4n7-49@gated-at.bofh.it>
[not found] ` <2iosE-5Kb-17@gated-at.bofh.it>
2004-07-17 11:12 ` Andi Kleen
2004-07-22 2:16 ` Roland McGrath
2004-07-22 6:11 ` Andrew Morton
2004-07-22 22:58 ` Roland McGrath
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040713092344.39ea00a3.ak@suse.de \
--to=ak@suse.de \
--cc=akpm@osdl.org \
--cc=cagney@redhat.com \
--cc=jparadis@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=roland@redhat.com \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox