summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/check.c
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2010-05-20 21:04:30 -0500
committerJason Wessel <jason.wessel@windriver.com>2010-05-20 21:04:30 -0500
commit031acd8c42edd61070f81c51edc89e83147a3d0e (patch)
treef0f848ca6b19ec049b00a430bb0fba1035acb76b /arch/x86/kernel/check.c
parent0b4b3827db386ec6034a5aba1261025b039440c2 (diff)
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 <fweisbec@gmail.com> CC: Ingo Molnar <mingo@elte.hu> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'arch/x86/kernel/check.c')
0 files changed, 0 insertions, 0 deletions