mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
s390x/gdb: Split s390-virt.xml
Both TCG and KVM emulate ckc, cputm, last_break and prefix, and it's quite useful to have them during debugging. Right now they are grouped together with KVM-only pp, pfault_token, pfault_select and pfault_compare in s390-virt.xml, and are not available when debugging TCG-emulated code. Move KVM-only registers into the new s390-virt-kvm.xml file. Advertise s390-virt.xml always, and the new s390-virt-kvm.xml only for KVM. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Message-Id: <20230314101813.174874-1-iii@linux.ibm.com> Acked-by: David Hildenbrand <david@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
committed by
Thomas Huth
parent
cc5ee50fff
commit
8afc43ea63
14
gdb-xml/s390-virt-kvm.xml
Normal file
14
gdb-xml/s390-virt-kvm.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- Copyright 2023 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.virt.kvm">
|
||||
<reg name="pp" bitsize="64" type="uint64" group="system"/>
|
||||
<reg name="pfault_token" bitsize="64" type="uint64" group="system"/>
|
||||
<reg name="pfault_select" bitsize="64" type="uint64" group="system"/>
|
||||
<reg name="pfault_compare" bitsize="64" type="uint64" group="system"/>
|
||||
</feature>
|
@ -11,8 +11,4 @@
|
||||
<reg name="cputm" bitsize="64" type="uint64" group="system"/>
|
||||
<reg name="last_break" bitsize="64" type="code_ptr" group="system"/>
|
||||
<reg name="prefix" bitsize="64" type="data_ptr" group="system"/>
|
||||
<reg name="pp" bitsize="64" type="uint64" group="system"/>
|
||||
<reg name="pfault_token" bitsize="64" type="uint64" group="system"/>
|
||||
<reg name="pfault_select" bitsize="64" type="uint64" group="system"/>
|
||||
<reg name="pfault_compare" bitsize="64" type="uint64" group="system"/>
|
||||
</feature>
|
||||
|
Reference in New Issue
Block a user