[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 05/19] s390x: Enable disassembler for s390x
From: |
Alexander Graf |
Subject: |
[Qemu-devel] [PATCH 05/19] s390x: Enable disassembler for s390x |
Date: |
Tue, 29 Mar 2011 15:29:32 +0200 |
From: Ulrich Hecht <address@hidden>
This patch enables the instruction disassembler when using an
S390x target.
Signed-off-by: Ulrich Hecht <address@hidden>
---
disas.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/disas.c b/disas.c
index c76f36f..17b4ce4 100644
--- a/disas.c
+++ b/disas.c
@@ -215,6 +215,9 @@ void target_disas(FILE *out, target_ulong code,
target_ulong size, int flags)
disasm_info.mach = bfd_mach_cris_v32;
print_insn = print_insn_crisv32;
}
+#elif defined(TARGET_S390X)
+ disasm_info.mach = bfd_mach_s390_64;
+ print_insn = print_insn_s390;
#elif defined(TARGET_MICROBLAZE)
disasm_info.mach = bfd_arch_microblaze;
print_insn = print_insn_microblaze;
@@ -414,6 +417,9 @@ void monitor_disas(Monitor *mon, CPUState *env,
#elif defined(TARGET_SH4)
disasm_info.mach = bfd_mach_sh4;
print_insn = print_insn_sh;
+#elif defined(TARGET_S390X)
+ disasm_info.mach = bfd_mach_s390_64;
+ print_insn = print_insn_s390;
#else
monitor_printf(mon, "0x" TARGET_FMT_lx
": Asm output not supported on this arch\n", pc);
--
1.6.0.2
- [Qemu-devel] [PATCH 00/19] s390x emulation support, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 01/19] Only build ivshmem when CONFIG_PCI && CONFIG_KVM, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 05/19] s390x: Enable disassembler for s390x,
Alexander Graf <=
- [Qemu-devel] [PATCH 02/19] virtio: use generic name when possible, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 11/19] s390x: Dispatch interrupts to KVM or the real CPU, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 17/19] s390x: Adjust internal kvm code, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 06/19] s390x: Enable nptl for s390x, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 13/19] s390x: virtio machine storage keys, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 09/19] linux-user: define a couple of syscalls for non-uid16 targets, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 12/19] s390x: Adjust GDB stub, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 03/19] s390x: fix KVM target, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 04/19] s390x: fix s390-virtio-serial, Alexander Graf, 2011/03/29