Messages in this thread | | | From | Jason Wessel <> | Subject | [PATCH 0/2] Fix KGDB to work with CONFIG_DEBUG_RODATA using kprobe API | Date | Wed, 21 Mar 2012 12:55:34 -0500 |
| |
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(-)
| |