The translate.c fix is extracted from a larger patch set.
I then add a test case and fix cpu_loop to raise the proper signal.
r~
Richard Henderson (2):
target/m68k: Reject immediate as destination in gen_ea_mode
linux-user/m68k: Handle EXCP_ADDRESS in cpu_loop
linux-user/m68k/cpu_loop.c | 5 ++++-
target/m68k/translate.c | 4 ++++
tests/tcg/m68k/excp-address.c | 32 ++++++++++++++++++++++++++++++++
tests/tcg/m68k/Makefile.target | 1 +
4 files changed, 41 insertions(+), 1 deletion(-)
create mode 100644 tests/tcg/m68k/excp-address.c
--
2.34.1