hw-breakpoints: Fix broken a.out format dump
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 9 Nov 2009 20:03:43 +0000 (21:03 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 10 Nov 2009 10:23:05 +0000 (11:23 +0100)
commit9f6b3c2c30cfbb1166ce7e74a8f9fd93ae19d2de
tree1144b1c516327765c7daacc6f4b23cc606a0c013
parent676c0dbe6e514fdd8e434a9e623c781aa9b40b15
hw-breakpoints: Fix broken a.out format dump

Fix the broken a.out format dump. For now we only dump the ptrace
breakpoints.

TODO: Dump every perf breakpoints for the current thread, not only
ptrace based ones.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: "K. Prasad" <prasad@linux.vnet.ibm.com>
arch/x86/include/asm/a.out-core.h
arch/x86/include/asm/debugreg.h
arch/x86/kernel/hw_breakpoint.c