io_uring: don't assume mm is constant across submits
[linux-2.6-microblaze.git] / lib / Kconfig.kgdb
index 256f248..05dae05 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