[kdb] [PATCH 37/37] kgdbts, sh: Add in breakpoint pc offset for superh
Paul Mundt
lethal at linux-sh.org
Wed Dec 23 21:58:02 CST 2009
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 at linux-sh.org>
> Signed-off-by: Jason Wessel <jason.wessel at windriver.com>
> ---
> 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 at linux-sh.org>
More information about the kdb
mailing list