diff options
Diffstat (limited to 'lib/Kconfig.kgdb')
-rw-r--r-- | lib/Kconfig.kgdb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/Kconfig.kgdb b/lib/Kconfig.kgdb index dbb58ae1b8e0..140e87824173 100644 --- a/lib/Kconfig.kgdb +++ b/lib/Kconfig.kgdb | |||
@@ -80,4 +80,22 @@ config KDB_KEYBOARD | |||
80 | help | 80 | help |
81 | KDB can use a PS/2 type keyboard for an input device | 81 | KDB can use a PS/2 type keyboard for an input device |
82 | 82 | ||
83 | config KDB_CONTINUE_CATASTROPHIC | ||
84 | int "KDB: continue after catastrophic errors" | ||
85 | depends on KGDB_KDB | ||
86 | default "0" | ||
87 | help | ||
88 | This integer controls the behaviour of kdb when the kernel gets a | ||
89 | catastrophic error, i.e. for a panic or oops. | ||
90 | When KDB is active and a catastrophic error occurs, nothing extra | ||
91 | will happen until you type 'go'. | ||
92 | CONFIG_KDB_CONTINUE_CATASTROPHIC == 0 (default). The first time | ||
93 | you type 'go', you will be warned by kdb. The secend time you type | ||
94 | 'go', KDB tries to continue. No guarantees that the | ||
95 | kernel is still usable in this situation. | ||
96 | CONFIG_KDB_CONTINUE_CATASTROPHIC == 1. KDB tries to continue. | ||
97 | No guarantees that the kernel is still usable in this situation. | ||
98 | CONFIG_KDB_CONTINUE_CATASTROPHIC == 2. KDB forces a reboot. | ||
99 | If you are not sure, say 0. | ||
100 | |||
83 | endif # KGDB | 101 | endif # KGDB |