[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100225235822.GE5592@nowhere>
Date: Fri, 26 Feb 2010 00:58:24 +0100
From: Frederic Weisbecker <fweisbec@...il.com>
To: Jason Wessel <jason.wessel@...driver.com>
Cc: torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
kgdb-bugreport@...ts.sourceforge.net, Ingo Molnar <mingo@...e.hu>
Subject: Re: [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@...il.com>
> CC: Ingo Molnar <mingo@...e.hu>
> Signed-off-by: Jason Wessel <jason.wessel@...driver.com>
> ---
That looks good to me at a quick glance.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists