linux/arch/mn10300
David Howells aa409e028c MN10300: Make the kernel jump into gdbstub on a BUG
Make the kernel jump into gdbstub (if configured) on a BUG with the register
set from the BUG rather than interpolating another illegal instruction and
leaving gdbstub's idea of the process counter in unsupported_syscall() where
the original BUG was detected.

With this patch, gdbstub reports a SIGABRT to the compiler and reports the
program counter at the original BUG, allowing the execution state at the time
of the BUG to be examined with GDB.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-19 15:51:36 -08:00
..
boot mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00
configs mn10300: add platform MTD support for the ASB2303 board 2008-02-08 09:22:30 -08:00
kernel MN10300: Make the kernel jump into gdbstub on a BUG 2008-02-19 15:51:36 -08:00
lib mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00
mm mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00
oprofile mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00
proc-mn103e010 mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00
unit-asb2303 mn10300: add platform MTD support for the ASB2303 board 2008-02-08 09:22:30 -08:00
unit-asb2305 mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00
Kconfig mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00
Kconfig.debug mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00
Makefile mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00