Re: [PATCH 37/37] kgdbts,sh: Add in breakpoint pc offset for superh

From: Paul Mundt
Date: Wed Dec 23 2009 - 22:58:24 EST


On Wed, Dec 23, 2009 at 03:43:04PM -0600, Jason Wessel wrote:
> The kgdb test suite mimics the behavior of gdb. For the sh
> architecture the pc must be decremented by 2 for software breakpoint.
>
> CC: Paul Mundt <lethal@xxxxxxxxxxxx>
> Signed-off-by: Jason Wessel <jason.wessel@xxxxxxxxxxxxx>
> ---
> drivers/misc/kgdbts.c | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
This is identical to what I had hacked up locally, so it certainly works
fine.

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/