Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
3 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters