diff options
author | Laurent Vivier <laurent@vivier.eu> | 2017-12-21 09:30:57 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2017-12-21 20:11:28 +0100 |
commit | cea066821c75a533536bcbc6d79db07f2e0432f4 (patch) | |
tree | 5958b48c27e39cb92216d6a0a497881acf28c31c /slirp | |
parent | 5f63f6ab50b7c70bb8af8e0bd515ea14129c7aaa (diff) |
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>
Diffstat (limited to 'slirp')
0 files changed, 0 insertions, 0 deletions