diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-11-09 23:03:43 +0300 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-11-10 13:23:05 +0300 |
commit | 9f6b3c2c30cfbb1166ce7e74a8f9fd93ae19d2de (patch) | |
tree | 1144b1c516327765c7daacc6f4b23cc606a0c013 /arch/x86/include/asm/debugreg.h | |
parent | 676c0dbe6e514fdd8e434a9e623c781aa9b40b15 (diff) | |
download | linux-9f6b3c2c30cfbb1166ce7e74a8f9fd93ae19d2de.tar.xz |
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>
Diffstat (limited to 'arch/x86/include/asm/debugreg.h')
-rw-r--r-- | arch/x86/include/asm/debugreg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/debugreg.h b/arch/x86/include/asm/debugreg.h index 9a3333c91f9a..f1b673f08239 100644 --- a/arch/x86/include/asm/debugreg.h +++ b/arch/x86/include/asm/debugreg.h @@ -89,6 +89,8 @@ static inline void hw_breakpoint_disable(void) set_debugreg(0UL, 3); } +extern void aout_dump_debugregs(struct user *dump); + #ifdef CONFIG_KVM extern void hw_breakpoint_restore(void); #endif |