diff options
author | Claudio Fontana <claudio.fontana@linaro.org> | 2014-02-05 17:27:28 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-02-08 14:50:48 +0000 |
commit | 999b53ec8794f203964db3ecf939a3da5c4bc843 (patch) | |
tree | b9b9a8cffdc54b2d6a6f4386396e557642b21170 /target-arm | |
parent | 37fd5b53ba688e2a32d3966870361e667381ca95 (diff) | |
download | hqemu-999b53ec8794f203964db3ecf939a3da5c4bc843.zip hqemu-999b53ec8794f203964db3ecf939a3da5c4bc843.tar.gz |
disas: Implement disassembly output for A64
Use libvixl to implement disassembly output in debug
logs for A64, for use with both AArch64 hosts and targets.
Signed-off-by: Claudio Fontana <claudio.fontana@linaro.org>
[PMM:
* added support for target disassembly
* switched to custom QEMUDisassembler so the output format
matches what QEMU expects
* make sure we correctly fall back to "just print hex"
if we didn't build the AArch64 disassembler because of
lack of a C++ compiler
* rename from 'aarch64' to 'arm-a64' because this is a
disassembler for the A64 instruction set
* merge aarch64.c and aarch64-cxx.cc into one C++ file
* simplify the aarch64.c<->aarch64-cxx.cc interface]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/translate-a64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/translate-a64.c b/target-arm/translate-a64.c index 5698b3e..d60223a 100644 --- a/target-arm/translate-a64.c +++ b/target-arm/translate-a64.c @@ -8105,7 +8105,7 @@ done_generating: qemu_log("----------------\n"); qemu_log("IN: %s\n", lookup_symbol(pc_start)); log_target_disas(env, pc_start, dc->pc - pc_start, - dc->thumb | (dc->bswap_code << 1)); + 4 | (dc->bswap_code << 1)); qemu_log("\n"); } #endif |