s390x/gdb: generate target.xml and handle fp/ac as coprocessors
commit73d510c9d3f67378759447fd78af10b22e39620f
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Fri, 29 Aug 2014 13:52:16 +0000 (29 15:52 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 1 Sep 2014 07:45:19 +0000 (1 09:45 +0200)
treeb8bcb06c8e359812e4e39acb7f7c11503d5ecaa0
parent6117afac348c8e94ca02c9b5ff68c9f0abcfdb85
s390x/gdb: generate target.xml and handle fp/ac as coprocessors

This patch reduces the core registers to the psw and the general purpose
registers. The fpc and ac registers are handled as coprocessors registers by gdb.
This allows to reuse the feature xml files taken from gdb without further
modification and is what other architectures do.

The target.xml is now generated and provided to the gdb client. Therefore, the
client doesn't have to guess which registers are available at which logical
register number.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
target-s390x/cpu-qom.h
target-s390x/cpu.c
target-s390x/cpu.h
target-s390x/gdbstub.c