aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/Kconfig.debug
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2010-08-04 11:42:43 -0400
committerJesper Nilsson <jesper.nilsson@axis.com>2010-08-04 12:28:48 -0400
commitb4e8a1813c7d65a7c28a3536da08444c21f2c37b (patch)
tree7b310dfaf31e41d6ff37a0cef2d271c1fca8003e /arch/cris/Kconfig.debug
parent028c1f6817c1ef49c61641dc1ae6c629e5bb32df (diff)
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>
Diffstat (limited to 'arch/cris/Kconfig.debug')
-rw-r--r--arch/cris/Kconfig.debug6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/cris/Kconfig.debug b/arch/cris/Kconfig.debug
index 0a1d62a23614..0b9a630dc812 100644
--- a/arch/cris/Kconfig.debug
+++ b/arch/cris/Kconfig.debug
@@ -32,4 +32,10 @@ config DEBUG_NMI_OOPS
32 If the system locks up without any debug information you can say Y 32 If the system locks up without any debug information you can say Y
33 here to make it possible to dump an OOPS with an external NMI. 33 here to make it possible to dump an OOPS with an external NMI.
34 34
35config NO_SEGFAULT_TERMINATION
36 bool "Keep segfaulting processes"
37 help
38 Place segfaulting user mode processes on a wait queue instead of
39 delivering a terminating SIGSEGV to allow debugging with gdb.
40
35endmenu 41endmenu