aa409e028c
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> |
||
---|---|---|
.. | ||
asm-offsets.c | ||
entry.S | ||
fpu-low.S | ||
fpu.c | ||
gdb-cache.S | ||
gdb-io-serial-low.S | ||
gdb-io-serial.c | ||
gdb-io-ttysm-low.S | ||
gdb-io-ttysm.c | ||
gdb-low.S | ||
gdb-stub.c | ||
head.S | ||
init_task.c | ||
internal.h | ||
io.c | ||
irq.c | ||
kernel_execve.S | ||
kprobes.c | ||
kthread.S | ||
Makefile | ||
mn10300-debug.c | ||
mn10300-serial-low.S | ||
mn10300-serial.c | ||
mn10300-serial.h | ||
mn10300-watchdog-low.S | ||
mn10300-watchdog.c | ||
mn10300_ksyms.c | ||
module.c | ||
process.c | ||
profile-low.S | ||
profile.c | ||
ptrace.c | ||
rtc.c | ||
semaphore.c | ||
setup.c | ||
sigframe.h | ||
signal.c | ||
switch_to.S | ||
sys_mn10300.c | ||
time.c | ||
traps.c | ||
vmlinux.lds.S |