Hi Keith,
Sorry this has languished for a few months. I wasn't happy with
the frobbing done by EXCP_HALT_INSN, and less keen to replicate
it with EXCP_BKPT_INSN, so I've re-organized a bit.
So far only compile-tested. I guess gcc testing with m68k-elf
might exercise libgloss and thence semihosting?
r~
Richard Henderson (2):
target/m68k: Perform the semihosting test during translate
target/m68k: Support semihosting on non-ColdFire targets
target/m68k/cpu.h | 2 +-
target/m68k/op_helper.c | 14 ++----------
target/m68k/translate.c | 50 +++++++++++++++++++++++++++++++++++++----
3 files changed, 49 insertions(+), 17 deletions(-)
--
2.34.1