]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b80e4d8eeee227026535e4ed7ec612dbc92b1be
tree0fddb37b3faf89a082f85d7f3fb8f57dd8b180d5
parente31dad9f21a2efc978b434fbda0816b439df2a15
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