kgdbts,sh: Add in breakpoint pc offset for superh
authorJason Wessel <jason.wessel@windriver.com>
Fri, 2 Apr 2010 16:31:35 +0000 (11:31 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 2 Apr 2010 19:58:17 +0000 (14:58 -0500)
commitcad08acebf4b7d993b0cefb9af67208c48fb9a5e
tree0fddb37b3faf89a082f85d7f3fb8f57dd8b180d5
parenta0279bd58060ccedbd414edf97d50cfa3778c370
kgdbts,sh: Add in breakpoint pc offset for superh

The kgdb test suite mimics the behavior of gdb.  For the sh
architecture the pc must be decremented by 2 for software breakpoint.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
drivers/misc/kgdbts.c