From: David Howells Date: Tue, 19 Feb 2008 18:58:59 +0000 (+0000) Subject: MN10300: Make the kernel jump into gdbstub on a BUG X-Git-Tag: v2.6.25-rc3~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa409e028c41137a659c02d0081ba57b701e7446;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed