Messages in this thread | | | Date | Tue, 27 May 2008 20:43:17 -0500 | From | Jason Wessel <> | Subject | Re: kgdb test suite failure |
| |
David Miller wrote: > From: Thomas Gleixner <tglx@linutronix.de> > Date: Thu, 22 May 2008 23:14:23 +0200 (CEST) > >> Please use HW breakpoints in the test suite. The RFC patch looks >> horrible :) > > ftrace needs basically the same kind of facility as kgdb > needs here. So bypassing the need for kgdb won't get around > the problem in general.
It does seem like there should be a general way to force a controlled write to a read-only page. That would certainly allow for the use of software breakpoints with KGDB. At the point in time that such calls come into existence I would certainly consider adding a toggle which you can use from the debugger to provide such access.
At least for the current time for kgdb, we will use hardware breakpoints.
Jason.
| |