Mike Frysinger
63ab25ebbc
kgdbts: unify/generalize gdb breakpoint adjustment
...
The Blackfin arch, like the x86 arch, needs to adjust the PC manually
after a breakpoint is hit as normally this is handled by the remote gdb.
However, rather than starting another arch ifdef mess, create a common
GDB_ADJUSTS_BREAK_OFFSET define for any arch to opt-in via their kgdb.h.
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
Cc: Oleg Nesterov <oleg@redhat.com >
Cc: Jason Wessel <jason.wessel@windriver.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Ingo Molnar <mingo@redhat.com >
Cc: "H. Peter Anvin" <hpa@zytor.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Dongdong Deng <dongdong.deng@windriver.com >
Cc: Sergei Shtylyov <sshtylyov@mvista.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2011-05-26 17:12:36 -07:00
Paul Mundt
ade315d83c
sh: Kill off kgdb's magical NMI debouncing.
...
The kgdb stub has traditionally tied in to the NMI slot, and manually
handled debounce. Now that we have a generic way to do this instead, all
of the stub-specific debounce silliness can be killed off.
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2009-09-01 17:45:35 +09:00
Paul Mundt
ab6e570ba3
sh: Generic kgdb stub support.
...
This migrates from the old bitrotted kgdb stub implementation and moves
to the generic stub. In the process support for SH-2/SH-2A is also added,
which the old stub never provided.
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2008-12-22 18:44:04 +09:00
Paul Mundt
f15cbe6f1a
sh: migrate to arch/sh/include/
...
This follows the sparc changes a439fe51a1
.
Most of the moving about was done with Sam's directions at:
http://marc.info/?l=linux-sh&m=121724823706062&w=2
with subsequent hacking and fixups entirely my fault.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org >
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2008-07-29 08:09:44 +09:00