From: Jason Wessel Date: Fri, 21 May 2010 02:04:30 +0000 (-0500) Subject: x86,kgdb: Implement early hardware breakpoint debugging X-Git-Tag: v2.6.35-rc1~452^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=031acd8c42edd61070f81c51edc89e83147a3d0e;p=pandora-kernel.git x86,kgdb: Implement early hardware breakpoint debugging 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 CC: Ingo Molnar Signed-off-by: Jason Wessel --- Reading git-diff-tree failed