qemu-e2k/target
Richard Henderson 50b208b848 target/i386: Use cpu_breakpoint_test in breakpoint_handler
The loop is performing a simple boolean test for the existence
of a BP_CPU breakpoint at EIP.  Plus it gets the iteration wrong,
if we happen to have a BP_GDB breakpoint at the same address.

We have a function for this: cpu_breakpoint_test.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20210620062317.1399034-1-richard.henderson@linaro.org>
2021-07-09 20:05:27 -07:00
..
alpha target/alpha: Use translator_use_goto_tb 2021-07-09 09:41:53 -07:00
arm target/arm: Use translator_use_goto_tb for aarch32 2021-07-09 09:42:28 -07:00
avr target/avr: Mark some helpers noreturn 2021-07-09 09:42:28 -07:00
cris target/cris: Use translator_use_goto_tb 2021-07-09 09:42:28 -07:00
hexagon Hexagon (target/hexagon) remove unused TCG variables 2021-06-29 11:32:50 -05:00
hppa target/hppa: Use translator_use_goto_tb 2021-07-09 09:42:28 -07:00
i386 target/i386: Use cpu_breakpoint_test in breakpoint_handler 2021-07-09 20:05:27 -07:00
m68k target/m68k: Use translator_use_goto_tb 2021-07-09 09:42:28 -07:00
microblaze target/microblaze: Use translator_use_goto_tb 2021-07-09 09:42:28 -07:00
mips target/mips: Fix missing else in gen_goto_tb 2021-07-09 09:42:28 -07:00
nios2 target/nios2: Use translator_use_goto_tb 2021-07-09 09:42:28 -07:00
openrisc target/openrisc: Use translator_use_goto_tb 2021-07-09 09:42:28 -07:00
ppc target/ppc: Use translator_use_goto_tb 2021-07-09 09:42:28 -07:00
riscv target/riscv: Use translator_use_goto_tb 2021-07-09 09:42:28 -07:00
rx target/rx: Use translator_use_goto_tb 2021-07-09 09:42:28 -07:00
s390x target/s390x: Remove use_exit_tb 2021-07-09 09:42:28 -07:00
sh4 target/sh4: Use translator_use_goto_tb 2021-07-09 09:42:28 -07:00
sparc target/sparc: Use translator_use_goto_tb 2021-07-09 09:42:28 -07:00
tricore target/tricore: Use tcg_gen_lookup_and_goto_ptr 2021-07-09 09:42:28 -07:00
xtensa target/xtensa: Use translator_use_goto_tb 2021-07-09 09:42:28 -07:00
meson.build Drop the deprecated unicore32 target 2021-05-12 18:20:52 +02:00