summaryrefslogtreecommitdiff
path: root/qemu/disas.c
diff options
context:
space:
mode:
authorpbrook <pbrook>2006-07-30 19:16:29 +0000
committerpbrook <pbrook>2006-07-30 19:16:29 +0000
commitaa1aaf8ffa8d0e1f6e0c99053745adb2ea14ae7e (patch)
tree6e9e5bb3f9c3663645eb359111901d1cdb6c9bf8 /qemu/disas.c
parent36d70e212c35fb69d47eb44539e5ea5ef9475f8a (diff)
Rewrite Arm host support.
Diffstat (limited to 'qemu/disas.c')
-rw-r--r--qemu/disas.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/qemu/disas.c b/qemu/disas.c
index fd91b922..27b67779 100644
--- a/qemu/disas.c
+++ b/qemu/disas.c
@@ -271,11 +271,9 @@ void disas(FILE *out, void *code, unsigned long size)
for (pc = (unsigned long)code; pc < (unsigned long)code + size; pc += count) {
fprintf(out, "0x%08lx: ", pc);
#ifdef __arm__
- /* since data are included in the code, it is better to
+ /* since data is included in the code, it is better to
display code data too */
- if (is_host) {
- fprintf(out, "%08x ", (int)bfd_getl32((const bfd_byte *)pc));
- }
+ fprintf(out, "%08x ", (int)bfd_getl32((const bfd_byte *)pc));
#endif
count = print_insn(pc, &disasm_info);
fprintf(out, "\n");