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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>

[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux