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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user