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
..
2008-02-14 21:13:33 -08:00
2008-02-09 10:46:40 +01:00
2008-02-13 13:29:25 -08:00
2008-02-09 10:46:40 +01:00
2008-02-11 13:23:46 -08:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-14 20:58:05 -08:00
2008-02-14 21:13:33 -08:00
2008-02-14 21:13:33 -08:00
2008-02-09 10:46:40 +01:00
2008-02-14 14:45:08 +09:00
2008-02-09 10:46:40 +01:00
2008-02-18 20:54:14 +01:00
2008-02-09 10:46:40 +01:00