mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
target/arm: Implement debug_check_breakpoint
Reuse the code at the bottom of helper_check_breakpoints, which is what we currently call from *_tr_breakpoint_check. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
e3f7c801f1
commit
b00d86bc8b
4 changed files with 8 additions and 4 deletions
|
@ -282,6 +282,9 @@ void hw_breakpoint_update(ARMCPU *cpu, int n);
|
|||
*/
|
||||
void hw_breakpoint_update_all(ARMCPU *cpu);
|
||||
|
||||
/* Callback function for checking if a breakpoint should trigger. */
|
||||
bool arm_debug_check_breakpoint(CPUState *cs);
|
||||
|
||||
/* Callback function for checking if a watchpoint should trigger. */
|
||||
bool arm_debug_check_watchpoint(CPUState *cs, CPUWatchpoint *wp);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue