OSDN Git Service

target-lm32: kill cpu_abort() calls
authorMichael Walle <michael@walle.cc>
Mon, 16 Sep 2013 18:13:05 +0000 (20:13 +0200)
committerMichael Walle <michael@walle.cc>
Tue, 4 Feb 2014 18:34:30 +0000 (19:34 +0100)
commit3604a76fea6ff37738d4a8f596be38407be74a83
tree38e6b72140d381f96235fe51cf04db83c4f56eb9
parent2f453564274cde7efba77246726f3d0c51566ec0
target-lm32: kill cpu_abort() calls

Instead of killing QEMU, translate instructions which are not available on
the CPU model as a noop and issue a log message at translation time.

On the real hardware CPU unknown opcodes results in undefined behaviour.

These changes prepare the removal of CPULM32State from DisasContext.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andreas Färber <afaerber@suse.de>
target-lm32/translate.c