Re: [PATCH 08/37] kgdb,sh: update superh kgdb exception handling

Paul Mundt <[email protected]> Thu, 24 Dec 2009 15:07:59 +0900
Newsgroups gmane.linux.kernel,gmane.linux.kernel.debugging.kgdb.bugs,gmane.linux.kernel.debugging
Message-ID <[email protected]>
On Wed, Dec 23, 2009 at 03:19:21PM -0600, Jason Wessel wrote:
> Implement kgdb_arch_pc() which adjusts the pc if it needs to be
> adjusted after a software breakpoint trap.
> 
> Implement kgdb_arch_set_pc() which is a new required function in the
> kgdb debug core.
> 
> When processing a single step return zero in the error exception field
> so that the debug core can distinguish between a single step trap and
> a breakpoint trap generically.
> 
> CC: Paul Mundt <[email protected]>
> Signed-off-by: Jason Wessel <[email protected]>
> ---
>  arch/sh/kernel/kgdb.c |   14 +++++++++++++-
>  1 files changed, 13 insertions(+), 1 deletions(-)
> 
Acked-by: Paul Mundt <[email protected]>