diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-07-19 09:03:21 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-07-21 07:47:05 -1000 |
commit | 10c37828b213cd490bd20e243916e96f5d588c8d (patch) | |
tree | a7a34443b08f5975fbc5ba6292cc2e2725b4ddc2 /target/mips/tcg/translate.c | |
parent | 11c1d5f8ca7a72818b3c24093a2c40856022fe0f (diff) |
accel/tcg: Move breakpoint recognition outside translation
Trigger breakpoints before beginning translation of a TB
that would begin with a BP. Thus we never generate code
for the BP at all.
Single-step instructions within a page containing a BP so
that we are sure to check each insn for the BP as above.
We no longer need to flush any TBs when changing BPs.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/286
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/404
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/489
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/mips/tcg/translate.c')
0 files changed, 0 insertions, 0 deletions