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

From: Paul Mundt
Date: Thu Dec 24 2009 - 01:08:22 EST


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 <lethal@xxxxxxxxxxxx>
> Signed-off-by: Jason Wessel <jason.wessel@xxxxxxxxxxxxx>
> ---
> arch/sh/kernel/kgdb.c | 14 +++++++++++++-
> 1 files changed, 13 insertions(+), 1 deletions(-)
>
Acked-by: Paul Mundt <lethal@xxxxxxxxxxxx>
--
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/