summaryrefslogtreecommitdiffstats
path: root/disas.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-30 19:16:29 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-30 19:16:29 +0000
commit46152182100e68f7f8aa4954af1bf91160bb3d15 (patch)
treed00bd52a3ae7c8472725ac6fa3656b28a22015d1 /disas.c
parentf3a9676a6038dbfc717f2225eb9d9416de4ea159 (diff)
downloadhqemu-46152182100e68f7f8aa4954af1bf91160bb3d15.zip
hqemu-46152182100e68f7f8aa4954af1bf91160bb3d15.tar.gz
Rewrite Arm host support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2071 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'disas.c')
-rw-r--r--disas.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/disas.c b/disas.c
index fd91b92..27b6777 100644
--- a/disas.c
+++ b/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");
OpenPOWER on IntegriCloud