Re: [PATCH] ptrace(2) single-stepping into signal handlers

Daniel Jacobowitz
2005-06-03T18:14:30Z

On Fri, Jun 03, 2005 at 02:07:40PM -0400, John Blackwood wrote:
> > Subject: Re: [PATCH] ptrace(2) single-stepping into signal handlers
> > From: Daniel Jacobowitz <dan@debian.org>
> > Date: Fri, 3 Jun 2005 13:34:33 -0400
> > To: John Blackwood <john.blackwood@ccur.com>
> > CC: linux-kernel@vger.kernel.org, roland@redhat.com, ak@suse.de,
> akpm@osdl.org, bugsy@ccur.com
> >
> > On Fri, Jun 03, 2005 at 01:21:20PM -0400, John Blackwood wrote:
>
> > >> The reason for this behavior is due to the fact that:
> > >>
> > >> - We saved off the eflags (with the TF bit set) in setup_sigcontext()
> > >> before we single stepped into the user's signal handler.
> >
> >
> > You didn't say what kernel you were using. I believe this was fixed
> > some time ago.
>
> Hi Dan,
>
> I observed this behavior in a 2.6.11.10 kernel. The code in 2.6.11.11
> looks the same in this area... this is the i386 code that I am speaking of.
>
> I guess that 'some time ago' is more recent than that?
>
>
> If so, then please excuse me... and it's great that this is fixed.

I'm not sure of the timeline, but could you check that in a current
2.6.12 GIT snapshot?

--
Daniel Jacobowitz
CodeSourcery, LLC