aboutsummaryrefslogtreecommitdiff
path: root/disas.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-01-12 14:55:36 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-01-12 15:12:58 +0100
commit0f136d9e060ad879d0b840274ddfd1955e24fc10 (patch)
treeb031ede8c280eccdbb286cd75efc5c22b2956d1b /disas.c
parent5d48e9174e3bfa8655e1dc8f80887acd9040b427 (diff)
downloadqemu-0f136d9e060ad879d0b840274ddfd1955e24fc10.zip
qemu-0f136d9e060ad879d0b840274ddfd1955e24fc10.tar.gz
qemu-0f136d9e060ad879d0b840274ddfd1955e24fc10.tar.bz2
disas: remove opcode printing on ARM hosts
Following commit 5d48e9174e3bfa8655e1dc8f80887acd9040b427, it's possible to remove the hack that used to display the opcodes on ARM hosts only. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'disas.c')
-rw-r--r--disas.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/disas.c b/disas.c
index dd2db14..c76f36f 100644
--- a/disas.c
+++ b/disas.c
@@ -307,11 +307,6 @@ void disas(FILE *out, void *code, unsigned long size)
#endif
for (pc = (unsigned long)code; size > 0; pc += count, size -= count) {
fprintf(out, "0x%08lx: ", pc);
-#ifdef __arm__
- /* since data is included in the code, it is better to
- display code data too */
- fprintf(out, "%08x ", (int)bfd_getl32((const bfd_byte *)pc));
-#endif
count = print_insn(pc, &disasm_info);
fprintf(out, "\n");
if (count < 0)