aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi-gen.py
diff options
context:
space:
mode:
authorFabien Chouteau <chouteau@adacore.com>2019-03-25 12:45:54 +0100
committerPalmer Dabbelt <palmer@sifive.com>2019-05-24 12:09:22 -0700
commit6e2716d8ca4edf3597307accef7af36e8ad966eb (patch)
treef009cae605d716ba41226406841fb32b1768b3c2 /scripts/qapi-gen.py
parentb86f4167630802128d94f3c89043d97d2f4c2546 (diff)
downloadqemu-6e2716d8ca4edf3597307accef7af36e8ad966eb.zip
qemu-6e2716d8ca4edf3597307accef7af36e8ad966eb.tar.gz
qemu-6e2716d8ca4edf3597307accef7af36e8ad966eb.tar.bz2
RISC-V: fix single stepping over ret and other branching instructions
This patch introduces wrappers around the tcg_gen_exit_tb() and tcg_gen_lookup_and_goto_ptr() functions that handle single stepping, i.e. call gen_exception_debug() when single stepping is enabled. Theses functions are then used instead of the originals, bringing single stepping handling in places where it was previously ignored such as jalr and system branch instructions (ecall, mret, sret, etc.). Signed-off-by: Fabien Chouteau <chouteau@adacore.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'scripts/qapi-gen.py')
0 files changed, 0 insertions, 0 deletions