mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
s390x/gdb: support reading/writing of control registers
Let's support reading and writing of control registers for kvm and tcg. We have to take care of flushing the tlb (tcg) and pushing the changed registers into kvm. Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
This commit is contained in:
parent
c0194a00b0
commit
5b9f6345a6
3 changed files with 66 additions and 1 deletions
26
gdb-xml/s390-cr.xml
Normal file
26
gdb-xml/s390-cr.xml
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Copyright 2015 IBM Corp.
|
||||
|
||||
This work is licensed under the terms of the GNU GPL, version 2 or
|
||||
(at your option) any later version. See the COPYING file in the
|
||||
top-level directory. -->
|
||||
|
||||
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
|
||||
<feature name="org.gnu.gdb.s390.cr">
|
||||
<reg name="cr0" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr1" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr2" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr3" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr4" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr5" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr6" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr7" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr8" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr9" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr10" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr11" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr12" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr13" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr14" bitsize="64" type="uint64" group="control"/>
|
||||
<reg name="cr15" bitsize="64" type="uint64" group="control"/>
|
||||
</feature>
|
Loading…
Add table
Add a link
Reference in a new issue