]> Git Repo - qemu.git/commit
gdb: provide the name of the architecture in the target.xml
authorDavid Hildenbrand <[email protected]>
Thu, 3 Dec 2015 12:14:41 +0000 (13:14 +0100)
committerCornelia Huck <[email protected]>
Wed, 27 Jan 2016 14:34:48 +0000 (15:34 +0100)
commitb3820e6ca0c364cfa73c9bc1614d2f303fc74703
tree04d1a72c8689936f800bfcb88ae4f173c9224223
parent4c6bf79a222934ac9ff0e45fc98ea1c986ed5c67
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 <[email protected]>
Acked-by: Cornelia Huck <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
[rework to use a callback]
Message-Id: <1449144881[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
gdbstub.c
include/qom/cpu.h
target-arm/cpu.c
target-arm/cpu64.c
target-ppc/translate_init.c
target-s390x/cpu.c
This page took 0.027571 seconds and 4 git commands to generate.