[PATCH 0/2] Fix KGDB to work with CONFIG_DEBUG_RODATA using kprobe API

From: Jason Wessel
Date: Wed Mar 21 2012 - 13:55:58 EST


The inability to use software breakpoints on a kernel built with
CONFIG_DEBUG_RODATA has been a problem for quite a few years. The
kprobes API has been working around this limitation for a long
time. This patch set changes the debug_core to use the kprobe
breakpoint API directly for a kernel compiled with CONFIG_DEBUG_RODATA.

Comments are welcome of course.

Thanks,
Jason.

---
Jason Wessel (2):
kgdb,debug_core: pass the breakpoint struct instead of address and memory
kgdb,debug_core,kgdbts: End DEBUG_RODATA limitation using kprobe breakpoints

drivers/misc/kgdbts.c | 13 ------
include/linux/kgdb.h | 7 ++-
kernel/debug/debug_core.c | 93 ++++++++++++++++++++++++++++++--------------
3 files changed, 67 insertions(+), 46 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/