Re: [RFC/PATCH] powerpc: Add PTRACE_SINGLEBLOCK support

2009-05-29 Thread Benjamin Herrenschmidt
On Fri, 2009-05-29 at 00:53 -0700, Roland McGrath wrote: > > The BookE variant is superior in some ways as it allows to know where > > you come from on branches. But that also means that the semantics exposed > > to user space would not be consistent which is BAD (tm). > > If it were me I would st

Re: [RFC/PATCH] powerpc: Add PTRACE_SINGLEBLOCK support

2009-05-29 Thread Roland McGrath
> The BookE variant is superior in some ways as it allows to know where > you come from on branches. But that also means that the semantics exposed > to user space would not be consistent which is BAD (tm). If it were me I would start with a simpler patch that doesn't implement it at all on BookE,

[RFC/PATCH] powerpc: Add PTRACE_SINGLEBLOCK support

2009-05-29 Thread Benjamin Herrenschmidt
From: Roland McGrath Reworked by: Benjamin Herrenschmidt This adds block-step support on powerpc, including a PTRACE_SINGLEBLOCK request for ptrace. The BookE implementation is tweaked to fire a single step after a block step in order to mimmic the server behaviour. Signed-off-by: Roland McGr