lkml.org 
[lkml]   [2012]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Fix KGDB to work with CONFIG_DEBUG_RODATA using kprobe API
Date
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(-)


\
 
 \ /
  Last update: 2012-03-21 18:59    [W:0.184 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site