qemu/target-ppc
David Hildenbrand b3820e6ca0 gdb: provide the name of the architecture in the target.xml
This patch provides the name of the architecture in the target.xml
if available.

This allows the remote gdb to detect the target architecture on its
own - so there is no need to specify it manually (e.g. if gdb is
started without a binary) using "set arch *arch_name*".

The name of the architecture is provided by a callback that can
be implemented by all architectures. The arm implementation has
special handling for iwmmxt and returns arm otherwise. This can
be extended if necessary.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
[rework to use a callback]
Message-Id: <1449144881-130935-1-git-send-email-borntraeger@de.ibm.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2016-01-27 15:34:48 +01:00
..
Makefile.objs kvm_ppc: remove kvmppc_timer_hack 2015-09-20 22:48:38 +02:00
STATUS
arch_dump.c dump: qemunotes aren't commonly needed 2016-01-15 14:40:24 +00:00
cpu-models.c
cpu-models.h
cpu-qom.h dump: qemunotes aren't commonly needed 2016-01-15 14:40:24 +00:00
cpu.h target-ppc: Move the FPSCR bit update macros to cpu.h 2015-11-30 19:39:01 +11:00
dfp_helper.c target-ppc: Move the FPSCR bit update macros to cpu.h 2015-11-30 19:39:01 +11:00
excp_helper.c ppc: cleanup logging 2015-12-17 17:33:48 +01:00
fpu_helper.c target-ppc/fpu_helper: fix FPSCR_FX bit shift operation 2015-11-30 19:39:01 +11:00
gdbstub.c
helper.h
helper_regs.h
int_helper.c target-ppc: fix vcipher, vcipherlast, vncipherlast and vpermxor 2015-09-20 22:48:39 +02:00
kvm-stub.c
kvm.c target-ppc: Define kvmppc_read_int_dt() 2016-01-11 15:28:49 +11:00
kvm_ppc.h ppc: Let kvmppc_reset_htab() return 0 for !CONFIG_KVM 2015-11-11 13:29:04 +11:00
machine.c migration: Use normal VMStateDescriptions for Subsections 2015-06-12 06:53:57 +02:00
mem_helper.c PPC: Fix lswx bounds checks 2015-11-12 13:15:54 +11:00
mfrom_table.c
mfrom_table_gen.c
misc_helper.c
mmu-hash32.c ppc: cleanup logging 2015-12-17 17:33:48 +01:00
mmu-hash32.h
mmu-hash64.c ppc: cleanup logging 2015-12-17 17:33:48 +01:00
mmu-hash64.h
mmu_helper.c ppc: cleanup logging 2015-12-17 17:33:48 +01:00
monitor.c monitor/target-ppc: Define target_get_monitor_def 2015-11-12 14:53:36 +11:00
timebase_helper.c ppc: cleanup logging 2015-12-17 17:33:48 +01:00
translate.c ppc: cleanup logging 2015-12-17 17:33:48 +01:00
translate_init.c gdb: provide the name of the architecture in the target.xml 2016-01-27 15:34:48 +01:00
user_only_helper.c