[PATCH 0/2] kgdb: x86: fix breakpoint removal problems

From: Florian Rommel
Date: Sun Aug 11 2024 - 19:29:46 EST


This series fixes two problems with KGDB on x86 concerning the removal
of breakpoints, causing the kernel to hang. Note that breakpoint
removal is not only performed when explicitly deleting a breakpoint,
but also happens before continuing execution or single stepping.

Florian Rommel (2):
x86/kgdb: convert early breakpoints to poke breakpoints
x86/kgdb: fix hang on failed breakpoint removal

arch/x86/kernel/kgdb.c | 38 ++++++++++++++++++++++++++++++++++++++
include/linux/kgdb.h | 3 +++
init/main.c | 1 +
kernel/debug/debug_core.c | 7 ++++++-
4 files changed, 48 insertions(+), 1 deletion(-)

--
2.46.0