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

Paul Mundt <[email protected]> Thu, 24 Dec 2009 12:58:02 +0900
Newsgroups gmane.linux.kernel,gmane.linux.kernel.debugging.kgdb.bugs,gmane.linux.kernel.debugging
Message-ID <[email protected]>
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 <[email protected]>
> Signed-off-by: Jason Wessel <[email protected]>
> ---
>  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 <[email protected]>