[kdb] [PATCH 08/37] kgdb, sh: update superh kgdb exception handling
Paul Mundt
lethal at linux-sh.org
Thu Dec 24 00:07:59 CST 2009
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 at linux-sh.org>
> Signed-off-by: Jason Wessel <jason.wessel at windriver.com>
> ---
> arch/sh/kernel/kgdb.c | 14 +++++++++++++-
> 1 files changed, 13 insertions(+), 1 deletions(-)
>
Acked-by: Paul Mundt <lethal at linux-sh.org>
More information about the kdb
mailing list