lkml.org 
[lkml]   [2005]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ptrace(2) single-stepping into signal handlers
 > Subject: Re: [PATCH] ptrace(2) single-stepping into signal handlers
> From: Andrew Morton <akpm@osdl.org>
> Date: Fri, 3 Jun 2005 16:31:29 -0700
> To: Daniel Jacobowitz <dan@debian.org>
> CC: john.blackwood@ccur.com
>
> >>> >
> >>> > 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?
> >>
>
>
> 2.6.12-rc5 should be sufficient.
>
>
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.12-rc5.tar.bz2
>
> or, even better, the above plus:
>
>
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.12-rc5-git8.bz2

Andrew and Dan,

Yes, I tried the above combination, and the stuck-in-single-step mode
after continuing out of the signal handler is indeed FIXED.

Some additional code was added to the i386 version of handle_signal()
(even before the git8 additions) so that the TF flag is now cleared and
the task no longer stops when it comes out of the signal handler and
returns back to the original execution stream.

Thanks.

-
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/

\
 
 \ /
  Last update: 2005-06-04 15:06    [W:0.182 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site