lkml.org 
[lkml]   [2010]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/8] x86,kgdb: Implement early hardware breakpoint debugging
On Thu, Feb 25, 2010 at 03:22:01PM -0600, Jason Wessel wrote:
> It is not possible to use the hw_breakpoint.c API prior to mm_init(),
> but it is possible to use hardware breakpoints with the kernel
> debugger.
>
> Prior to smp_init() it is possible to simply write to the dr registers
> of the boot cpu directly. This can be used up until the
> kgdb_arch_late() is invoked, at which point the standard hw_breakpoint.c
> API will get used.
>
> CC: Frederic Weisbecker <fweisbec@gmail.com>
> CC: Ingo Molnar <mingo@elte.hu>
> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
> ---


That looks good to me at a quick glance.



\
 
 \ /
  Last update: 2010-02-26 01:01    [W:0.079 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site