Fix debug enter with "sysctl debug.kdb.enter=1" when dtrace compiled-in to the kernel.
The change to dtrace_subr.c is optimization only and is not mandatory for this patch.
Differential D24018
fix debug.kdb.enter=1 with dtrace-enabled kernel br on Mar 10 2020, 3:42 PM. Authored by Tags None Referenced Files
Details Fix debug enter with "sysctl debug.kdb.enter=1" when dtrace compiled-in to the kernel. The change to dtrace_subr.c is optimization only and is not mandatory for this patch. Tested with this one-liner: Other one-liners are available here:
Diff Detail
Event TimelineComment Actions This is not a RISC-V-specific thing; every architecture currently ignores the return value of dtrace_invop_jump_addr. Comment Actions It seems to also be broken on !x86. i386 and amd64 return control if dtrace determines that it wasn't the source of the breakpoint.
|