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(-)

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to