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 target-ppc: remove powerpc 970gx 2014-03-05 03:06:23 +01:00
arch_dump.c dump: qemunotes aren't commonly needed 2016-01-15 14:40:24 +00:00
cpu-models.c target-ppc: Remove POWER5+ v0.0 that never existed 2015-03-25 22:49:46 +01:00
cpu-models.h target-ppc: Remove POWER5+ v0.0 that never existed 2015-03-25 22:49:46 +01:00
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 target-ppc: Fix gdbstub for ppc64le-linux-user 2014-07-08 12:10:36 +02:00
helper.h target-ppc: Introduce tbegin 2015-01-07 16:16:27 +01:00
helper_regs.h PPC: Only enter MSR_POW when no interrupts pending 2014-04-08 11:20:05 +02:00
int_helper.c target-ppc: fix vcipher, vcipherlast, vncipherlast and vpermxor 2015-09-20 22:48:39 +02:00
kvm-stub.c kvm/openpic: in-kernel mpic support 2013-07-01 01:11:14 +02:00
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 find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
mfrom_table_gen.c fix spelling in target sub directory 2011-12-02 10:50:57 +00:00
misc_helper.c target-ppc: move sdr1 value change detection logic to helper_store_sdr1() 2015-03-09 15:00:05 +01:00
mmu-hash32.c ppc: cleanup logging 2015-12-17 17:33:48 +01:00
mmu-hash32.h target-ppc: Use PowerPCCPU in PowerPCCPUClass::handle_mmu_fault hook 2014-03-13 19:20:48 +01:00
mmu-hash64.c ppc: cleanup logging 2015-12-17 17:33:48 +01:00
mmu-hash64.h target-ppc: Use right page size with hash table lookup 2015-03-09 14:59:53 +01:00
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 cpu: Move exception_index field from CPU_COMMON to CPUState 2014-03-13 19:20:46 +01:00