99 lines
6.8 KiB
HTML
99 lines
6.8 KiB
HTML
|
<html lang="en">
|
||
|
<head>
|
||
|
<title>S/390 and System z Features - Debugging with GDB</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html">
|
||
|
<meta name="description" content="Debugging with GDB">
|
||
|
<meta name="generator" content="makeinfo 4.13">
|
||
|
<link title="Top" rel="start" href="index.html#Top">
|
||
|
<link rel="up" href="Standard-Target-Features.html#Standard-Target-Features" title="Standard Target Features">
|
||
|
<link rel="prev" href="RISC_002dV-Features.html#RISC_002dV-Features" title="RISC-V Features">
|
||
|
<link rel="next" href="Sparc-Features.html#Sparc-Features" title="Sparc Features">
|
||
|
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||
|
<!--
|
||
|
Copyright (C) 1988-2019 Free Software Foundation, Inc.
|
||
|
|
||
|
Permission is granted to copy, distribute and/or modify this document
|
||
|
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||
|
any later version published by the Free Software Foundation; with the
|
||
|
Invariant Sections being ``Free Software'' and ``Free Software Needs
|
||
|
Free Documentation'', with the Front-Cover Texts being ``A GNU Manual,''
|
||
|
and with the Back-Cover Texts as in (a) below.
|
||
|
|
||
|
(a) The FSF's Back-Cover Text is: ``You are free to copy and modify
|
||
|
this GNU Manual. Buying copies from GNU Press supports the FSF in
|
||
|
developing GNU and promoting software freedom.''
|
||
|
-->
|
||
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
||
|
<style type="text/css"><!--
|
||
|
pre.display { font-family:inherit }
|
||
|
pre.format { font-family:inherit }
|
||
|
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||
|
pre.smallformat { font-family:inherit; font-size:smaller }
|
||
|
pre.smallexample { font-size:smaller }
|
||
|
pre.smalllisp { font-size:smaller }
|
||
|
span.sc { font-variant:small-caps }
|
||
|
span.roman { font-family:serif; font-weight:normal; }
|
||
|
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||
|
--></style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="node">
|
||
|
<a name="S%2f390-and-System-z-Features"></a>
|
||
|
<a name="S_002f390-and-System-z-Features"></a>
|
||
|
<p>
|
||
|
Next: <a rel="next" accesskey="n" href="Sparc-Features.html#Sparc-Features">Sparc Features</a>,
|
||
|
Previous: <a rel="previous" accesskey="p" href="RISC_002dV-Features.html#RISC_002dV-Features">RISC-V Features</a>,
|
||
|
Up: <a rel="up" accesskey="u" href="Standard-Target-Features.html#Standard-Target-Features">Standard Target Features</a>
|
||
|
<hr>
|
||
|
</div>
|
||
|
|
||
|
<h4 class="subsection">G.5.13 S/390 and System z Features</h4>
|
||
|
|
||
|
<p><a name="index-target-descriptions_002c-S_002f390-features-3670"></a><a name="index-target-descriptions_002c-System-z-features-3671"></a>
|
||
|
The ‘<samp><span class="samp">org.gnu.gdb.s390.core</span></samp>’ feature is required for S/390 and
|
||
|
System z targets. It should contain the PSW and the 16 general
|
||
|
registers. In particular, System z targets should provide the 64-bit
|
||
|
registers ‘<samp><span class="samp">pswm</span></samp>’, ‘<samp><span class="samp">pswa</span></samp>’, and ‘<samp><span class="samp">r0</span></samp>’ through ‘<samp><span class="samp">r15</span></samp>’.
|
||
|
S/390 targets should provide the 32-bit versions of these registers.
|
||
|
A System z target that runs in 31-bit addressing mode should provide
|
||
|
32-bit versions of ‘<samp><span class="samp">pswm</span></samp>’ and ‘<samp><span class="samp">pswa</span></samp>’, as well as the general
|
||
|
register's upper halves ‘<samp><span class="samp">r0h</span></samp>’ through ‘<samp><span class="samp">r15h</span></samp>’, and their
|
||
|
lower halves ‘<samp><span class="samp">r0l</span></samp>’ through ‘<samp><span class="samp">r15l</span></samp>’.
|
||
|
|
||
|
<p>The ‘<samp><span class="samp">org.gnu.gdb.s390.fpr</span></samp>’ feature is required. It should
|
||
|
contain the 64-bit registers ‘<samp><span class="samp">f0</span></samp>’ through ‘<samp><span class="samp">f15</span></samp>’, and
|
||
|
‘<samp><span class="samp">fpc</span></samp>’.
|
||
|
|
||
|
<p>The ‘<samp><span class="samp">org.gnu.gdb.s390.acr</span></samp>’ feature is required. It should
|
||
|
contain the 32-bit registers ‘<samp><span class="samp">acr0</span></samp>’ through ‘<samp><span class="samp">acr15</span></samp>’.
|
||
|
|
||
|
<p>The ‘<samp><span class="samp">org.gnu.gdb.s390.linux</span></samp>’ feature is optional. It should
|
||
|
contain the register ‘<samp><span class="samp">orig_r2</span></samp>’, which is 64-bit wide on System z
|
||
|
targets and 32-bit otherwise. In addition, the feature may contain
|
||
|
the ‘<samp><span class="samp">last_break</span></samp>’ register, whose width depends on the addressing
|
||
|
mode, as well as the ‘<samp><span class="samp">system_call</span></samp>’ register, which is always
|
||
|
32-bit wide.
|
||
|
|
||
|
<p>The ‘<samp><span class="samp">org.gnu.gdb.s390.tdb</span></samp>’ feature is optional. It should
|
||
|
contain the 64-bit registers ‘<samp><span class="samp">tdb0</span></samp>’, ‘<samp><span class="samp">tac</span></samp>’, ‘<samp><span class="samp">tct</span></samp>’,
|
||
|
‘<samp><span class="samp">atia</span></samp>’, and ‘<samp><span class="samp">tr0</span></samp>’ through ‘<samp><span class="samp">tr15</span></samp>’.
|
||
|
|
||
|
<p>The ‘<samp><span class="samp">org.gnu.gdb.s390.vx</span></samp>’ feature is optional. It should contain
|
||
|
64-bit wide registers ‘<samp><span class="samp">v0l</span></samp>’ through ‘<samp><span class="samp">v15l</span></samp>’, which will be
|
||
|
combined by <span class="sc">gdb</span> with the floating point registers ‘<samp><span class="samp">f0</span></samp>’
|
||
|
through ‘<samp><span class="samp">f15</span></samp>’ to present the 128-bit wide vector registers
|
||
|
‘<samp><span class="samp">v0</span></samp>’ through ‘<samp><span class="samp">v15</span></samp>’. In addition, this feature should
|
||
|
contain the 128-bit wide vector registers ‘<samp><span class="samp">v16</span></samp>’ through
|
||
|
‘<samp><span class="samp">v31</span></samp>’.
|
||
|
|
||
|
<p>The ‘<samp><span class="samp">org.gnu.gdb.s390.gs</span></samp>’ feature is optional. It should contain
|
||
|
the 64-bit wide guarded-storage-control registers ‘<samp><span class="samp">gsd</span></samp>’,
|
||
|
‘<samp><span class="samp">gssm</span></samp>’, and ‘<samp><span class="samp">gsepla</span></samp>’.
|
||
|
|
||
|
<p>The ‘<samp><span class="samp">org.gnu.gdb.s390.gsbc</span></samp>’ feature is optional. It should contain
|
||
|
the 64-bit wide guarded-storage broadcast control registers
|
||
|
‘<samp><span class="samp">bc_gsd</span></samp>’, ‘<samp><span class="samp">bc_gssm</span></samp>’, and ‘<samp><span class="samp">bc_gsepla</span></samp>’.
|
||
|
|
||
|
</body></html>
|
||
|
|