Re: [RFC] [PATCH] selective signal ptracing

From: Benjamin Herrenschmidt
Date: Mon Jun 18 2007 - 21:16:27 EST


On Mon, 2007-06-18 at 08:15 -0500, Josh Boyer wrote:
> On 6/16/07, Roland McGrath <roland@xxxxxxxxxx> wrote:
> > > What are the issues with arch like ARM ?
> >
> > The interesting class ARM belongs to is machines that don't (or don't
> > always) have hardware support for single-step. Maintaining the status quo
> > of how PTRACE_SINGLESTEP functions on these machines is different in
> > implementation under utrace than it is for machines that always use
> > hardware support. That is the only special complication for ARM, and it is
> > not really very complicated. Apparently the way I described the issue in
> > the past was easily misunderstood.
>
> That isn't just ARM. There are some embedded PowerPC chips that lack
> an easily usable hardware single step. Just an FYI.

Note that we could use xmon infrastructure for that ... Paul has the
whole shebang done in there, including emulating branches etc...

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/