OrangePi_CM5/arch/mn10300/kernel
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
..
Makefile
…
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 MN10300: Introduce barriers to replace removed volatiles in gdbstub 2008-02-19 15:51:36 -08:00
gdb-low.S
…
gdb-stub.c
…
head.S
…
init_task.c
…
internal.h
…
io.c
…
irq.c
…
kernel_execve.S
…
kprobes.c
…
kthread.S
…
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 MN10300: Make the kernel jump into gdbstub on a BUG 2008-02-19 15:51:36 -08:00
vmlinux.lds.S
…