mbox series

[v2,0/2] target/m68k: Support semihosting on non-ColdFire targets

Message ID 20231003223624.1753000-1-richard.henderson@linaro.org
Headers show
Series target/m68k: Support semihosting on non-ColdFire targets | expand

Message

Richard Henderson Oct. 3, 2023, 10:36 p.m. UTC
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(-)