KGDB: use kprobe blocklist to prohibit unsafe breakpoints
configname: CONFIG_KGDB_HONOUR_BLOCKLIST
Linux Kernel Configuration
└─>Kernel hacking
└─>Generic Kernel Debugging Instruments
└─>KGDB: kernel debugger
└─>KGDB: use kprobe blocklist to prohibit unsafe breakpoints
In linux kernel since version 5.1 (release Date: 2019-05-05)
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.
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.