CRIS: Add config for pausing a seg-faulting process

Put it on a wait queue, so we can attach gdb to the process
to debug it instead of just killing it.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Esse commit está contido em:
Jesper Nilsson
2010-08-04 17:42:43 +02:00
commit b4e8a1813c
2 arquivos alterados com 16 adições e 3 exclusões

Ver arquivo

@@ -32,4 +32,10 @@ config DEBUG_NMI_OOPS
If the system locks up without any debug information you can say Y
here to make it possible to dump an OOPS with an external NMI.
config NO_SEGFAULT_TERMINATION
bool "Keep segfaulting processes"
help
Place segfaulting user mode processes on a wait queue instead of
delivering a terminating SIGSEGV to allow debugging with gdb.
endmenu