dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init
[platform/kernel/linux-starfive.git] / lib / Kconfig.kgdb
index 256f248..3b9a440 100644 (file)
@@ -24,6 +24,21 @@ menuconfig KGDB
 
 if KGDB
 
+config KGDB_HONOUR_BLOCKLIST
+       bool "KGDB: use kprobe blocklist to prohibit unsafe breakpoints"
+       depends on HAVE_KPROBES
+       depends on MODULES
+       select KPROBES
+       default y
+       help
+         If set to Y the debug core will use the kprobe blocklist to
+         identify symbols where it is unsafe to set breakpoints.
+         In particular this disallows instrumentation of functions
+         called during debug trap handling and thus makes it very
+         difficult to inadvertently provoke recursive trap handling.
+
+         If unsure, say Y.
+
 config KGDB_SERIAL_CONSOLE
        tristate "KGDB: use kgdb over the serial console"
        select CONSOLE_POLL
@@ -106,7 +121,7 @@ config KDB_DEFAULT_ENABLE
 
 config KDB_KEYBOARD
        bool "KGDB_KDB: keyboard as input device"
-       depends on VT && KGDB_KDB
+       depends on VT && KGDB_KDB && !PARISC
        default n
        help
          KDB can use a PS/2 type keyboard for an input device