powerpc: Add ppc_breakpoint_available()
Add ppc_breakpoint_available() to determine if a breakpoint is available currently via the DAWR or DABR. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
681c617b7c
commit
404b27d66e
@@ -47,6 +47,7 @@ static inline int debugger_fault_handler(struct pt_regs *regs) { return 0; }
|
||||
|
||||
void set_breakpoint(struct arch_hw_breakpoint *brk);
|
||||
void __set_breakpoint(struct arch_hw_breakpoint *brk);
|
||||
bool ppc_breakpoint_available(void);
|
||||
#ifdef CONFIG_PPC_ADV_DEBUG_REGS
|
||||
extern void do_send_trap(struct pt_regs *regs, unsigned long address,
|
||||
unsigned long error_code, int brkpt);
|
||||
|
Reference in New Issue
Block a user