hw/core: Introduce TCGCPUOps.debug_check_breakpoint
New hook to return true when an architectural breakpoint is to be recognized and false when it should be suppressed. First use must wait until other pieces are in place. 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
258afb487f
commit
e3f7c801f1
@ -88,6 +88,12 @@ struct TCGCPUOps {
|
||||
*/
|
||||
bool (*debug_check_watchpoint)(CPUState *cpu, CPUWatchpoint *wp);
|
||||
|
||||
/**
|
||||
* @debug_check_breakpoint: return true if the architectural
|
||||
* breakpoint whose PC has matched should really fire.
|
||||
*/
|
||||
bool (*debug_check_breakpoint)(CPUState *cpu);
|
||||
|
||||
/**
|
||||
* @io_recompile_replay_branch: Callback for cpu_io_recompile.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user