summaryrefslogtreecommitdiff
path: root/qemu/disas.c
diff options
context:
space:
mode:
authorbellard <bellard>2005-04-07 22:20:27 +0000
committerbellard <bellard>2005-04-07 22:20:27 +0000
commit6a223b680d35b78bbd693702bb4fe53a81ea96a0 (patch)
tree139fb7c6c6f9b426cb0bdf642d5bcc1a57bd2ba8 /qemu/disas.c
parent676ff4e0abea10cfbcfb9ce5890681db512d821d (diff)
ia64 host support (David Mosberger)
Diffstat (limited to 'qemu/disas.c')
-rw-r--r--qemu/disas.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/qemu/disas.c b/qemu/disas.c
index 8bba6244..7005716c 100644
--- a/qemu/disas.c
+++ b/qemu/disas.c
@@ -143,7 +143,8 @@ void target_disas(FILE *out, target_ulong code, target_ulong size, int flags)
#elif defined(TARGET_PPC)
print_insn = print_insn_ppc;
#else
- fprintf(out, "Asm output not supported on this arch\n");
+ fprintf(out, "0x" TARGET_FMT_lx
+ ": Asm output not supported on this arch\n", code);
return;
#endif
@@ -202,7 +203,8 @@ void disas(FILE *out, void *code, unsigned long size)
#elif defined(__arm__)
print_insn = print_insn_arm;
#else
- fprintf(out, "Asm output not supported on this arch\n");
+ fprintf(out, "0x%lx: Asm output not supported on this arch\n",
+ (long) code);
return;
#endif
for (pc = (unsigned long)code; pc < (unsigned long)code + size; pc += count) {
@@ -311,7 +313,8 @@ void monitor_disas(target_ulong pc, int nb_insn, int is_physical, int flags)
#elif defined(TARGET_PPC)
print_insn = print_insn_ppc;
#else
- term_printf("Asm output not supported on this arch\n");
+ term_printf("0x" TARGET_FMT_lx
+ ": Asm output not supported on this arch\n", pc);
return;
#endif