qemu/target/m68k
Laurent Vivier cea066821c target/m68k: add monitor.c
This allows to use registers content in the monitor.

Example:

 BEFORE:
  (qemu) print $d0
  unknown register

 AFTER:
  (qemu) print $d0
  0
  (qemu) print $sr
  0x2000
  (qemu) x/10i $pc
  0x40010a2a:  movew %sr,%d0
  0x40010a2c:  oril #1792,%d0
  0x40010a32:  movew %d0,%sr
  0x40010a34:  movel %a0@,%d0
  0x40010a36:  btst #3,%d0
  0x40010a3a:  beqs 0x40010a26
  0x40010a3c:  movew %sr,%d0
  0x40010a3e:  andil #63743,%d0
  0x40010a44:  movew %d0,%sr
  0x40010a46:  rts

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Message-Id: <20171221083057.17942-1-laurent@vivier.eu>
2017-12-21 20:11:28 +01:00
..
cpu-qom.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu.c m68k: cleanup cpu type name composition 2017-10-27 16:03:54 +02:00
cpu.h m68k: cleanup cpu type name composition 2017-10-27 16:03:54 +02:00
fpu_helper.c target/m68k: Switch fpu_rom from make_floatx80() to make_floatx80_init() 2017-09-10 18:07:40 +02:00
gdbstub.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
helper.c m68k: replace cpu_m68k_init() with cpu_generic_init() 2017-09-01 11:54:24 -03:00
helper.h target/m68k: check CF_PARALLEL instead of parallel_cpus 2017-10-24 13:53:41 -07:00
m68k-semi.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
Makefile.objs target/m68k: add monitor.c 2017-12-21 20:11:28 +01:00
monitor.c target/m68k: add monitor.c 2017-12-21 20:11:28 +01:00
op_helper.c target/m68k: check CF_PARALLEL instead of parallel_cpus 2017-10-24 13:53:41 -07:00
qregs.def target-m68k: use floatx80 internally 2017-06-21 22:10:29 +02:00
translate.c target/m68k: remove unused variable gen_throws_exception 2017-12-21 20:11:28 +01:00