S_002f390-and-System-z-Features.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- Copyright (C) 1988-2020 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this document
  5. under the terms of the GNU Free Documentation License, Version 1.3 or
  6. any later version published by the Free Software Foundation; with the
  7. Invariant Sections being "Free Software" and "Free Software Needs
  8. Free Documentation", with the Front-Cover Texts being "A GNU Manual,"
  9. and with the Back-Cover Texts as in (a) below.
  10. (a) The FSF's Back-Cover Text is: "You are free to copy and modify
  11. this GNU Manual. Buying copies from GNU Press supports the FSF in
  12. developing GNU and promoting software freedom." -->
  13. <!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ -->
  14. <head>
  15. <title>Debugging with GDB: S/390 and System z Features</title>
  16. <meta name="description" content="Debugging with GDB: S/390 and System z Features">
  17. <meta name="keywords" content="Debugging with GDB: S/390 and System z Features">
  18. <meta name="resource-type" content="document">
  19. <meta name="distribution" content="global">
  20. <meta name="Generator" content="makeinfo">
  21. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  22. <link href="index.html#Top" rel="start" title="Top">
  23. <link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index">
  24. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  25. <link href="Standard-Target-Features.html#Standard-Target-Features" rel="up" title="Standard Target Features">
  26. <link href="Sparc-Features.html#Sparc-Features" rel="next" title="Sparc Features">
  27. <link href="RX-Features.html#RX-Features" rel="previous" title="RX Features">
  28. <style type="text/css">
  29. <!--
  30. a.summary-letter {text-decoration: none}
  31. blockquote.smallquotation {font-size: smaller}
  32. div.display {margin-left: 3.2em}
  33. div.example {margin-left: 3.2em}
  34. div.indentedblock {margin-left: 3.2em}
  35. div.lisp {margin-left: 3.2em}
  36. div.smalldisplay {margin-left: 3.2em}
  37. div.smallexample {margin-left: 3.2em}
  38. div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
  39. div.smalllisp {margin-left: 3.2em}
  40. kbd {font-style:oblique}
  41. pre.display {font-family: inherit}
  42. pre.format {font-family: inherit}
  43. pre.menu-comment {font-family: serif}
  44. pre.menu-preformatted {font-family: serif}
  45. pre.smalldisplay {font-family: inherit; font-size: smaller}
  46. pre.smallexample {font-size: smaller}
  47. pre.smallformat {font-family: inherit; font-size: smaller}
  48. pre.smalllisp {font-size: smaller}
  49. span.nocodebreak {white-space:nowrap}
  50. span.nolinebreak {white-space:nowrap}
  51. span.roman {font-family:serif; font-weight:normal}
  52. span.sansserif {font-family:sans-serif; font-weight:normal}
  53. ul.no-bullet {list-style: none}
  54. -->
  55. </style>
  56. </head>
  57. <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
  58. <a name="S_002f390-and-System-z-Features"></a>
  59. <div class="header">
  60. <p>
  61. Next: <a href="Sparc-Features.html#Sparc-Features" accesskey="n" rel="next">Sparc Features</a>, Previous: <a href="RX-Features.html#RX-Features" accesskey="p" rel="previous">RX Features</a>, Up: <a href="Standard-Target-Features.html#Standard-Target-Features" accesskey="u" rel="up">Standard Target Features</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
  62. </div>
  63. <hr>
  64. <a name="S_002f390-and-System-z-Features-1"></a>
  65. <h4 class="subsection">G.5.14 S/390 and System z Features</h4>
  66. <a name="index-target-descriptions_002c-S_002f390-features"></a>
  67. <a name="index-target-descriptions_002c-System-z-features"></a>
  68. <p>The &lsquo;<samp>org.gnu.gdb.s390.core</samp>&rsquo; feature is required for S/390 and
  69. System z targets. It should contain the PSW and the 16 general
  70. registers. In particular, System z targets should provide the 64-bit
  71. registers &lsquo;<samp>pswm</samp>&rsquo;, &lsquo;<samp>pswa</samp>&rsquo;, and &lsquo;<samp>r0</samp>&rsquo; through &lsquo;<samp>r15</samp>&rsquo;.
  72. S/390 targets should provide the 32-bit versions of these registers.
  73. A System z target that runs in 31-bit addressing mode should provide
  74. 32-bit versions of &lsquo;<samp>pswm</samp>&rsquo; and &lsquo;<samp>pswa</samp>&rsquo;, as well as the general
  75. register&rsquo;s upper halves &lsquo;<samp>r0h</samp>&rsquo; through &lsquo;<samp>r15h</samp>&rsquo;, and their
  76. lower halves &lsquo;<samp>r0l</samp>&rsquo; through &lsquo;<samp>r15l</samp>&rsquo;.
  77. </p>
  78. <p>The &lsquo;<samp>org.gnu.gdb.s390.fpr</samp>&rsquo; feature is required. It should
  79. contain the 64-bit registers &lsquo;<samp>f0</samp>&rsquo; through &lsquo;<samp>f15</samp>&rsquo;, and
  80. &lsquo;<samp>fpc</samp>&rsquo;.
  81. </p>
  82. <p>The &lsquo;<samp>org.gnu.gdb.s390.acr</samp>&rsquo; feature is required. It should
  83. contain the 32-bit registers &lsquo;<samp>acr0</samp>&rsquo; through &lsquo;<samp>acr15</samp>&rsquo;.
  84. </p>
  85. <p>The &lsquo;<samp>org.gnu.gdb.s390.linux</samp>&rsquo; feature is optional. It should
  86. contain the register &lsquo;<samp>orig_r2</samp>&rsquo;, which is 64-bit wide on System z
  87. targets and 32-bit otherwise. In addition, the feature may contain
  88. the &lsquo;<samp>last_break</samp>&rsquo; register, whose width depends on the addressing
  89. mode, as well as the &lsquo;<samp>system_call</samp>&rsquo; register, which is always
  90. 32-bit wide.
  91. </p>
  92. <p>The &lsquo;<samp>org.gnu.gdb.s390.tdb</samp>&rsquo; feature is optional. It should
  93. contain the 64-bit registers &lsquo;<samp>tdb0</samp>&rsquo;, &lsquo;<samp>tac</samp>&rsquo;, &lsquo;<samp>tct</samp>&rsquo;,
  94. &lsquo;<samp>atia</samp>&rsquo;, and &lsquo;<samp>tr0</samp>&rsquo; through &lsquo;<samp>tr15</samp>&rsquo;.
  95. </p>
  96. <p>The &lsquo;<samp>org.gnu.gdb.s390.vx</samp>&rsquo; feature is optional. It should contain
  97. 64-bit wide registers &lsquo;<samp>v0l</samp>&rsquo; through &lsquo;<samp>v15l</samp>&rsquo;, which will be
  98. combined by <small>GDB</small> with the floating point registers &lsquo;<samp>f0</samp>&rsquo;
  99. through &lsquo;<samp>f15</samp>&rsquo; to present the 128-bit wide vector registers
  100. &lsquo;<samp>v0</samp>&rsquo; through &lsquo;<samp>v15</samp>&rsquo;. In addition, this feature should
  101. contain the 128-bit wide vector registers &lsquo;<samp>v16</samp>&rsquo; through
  102. &lsquo;<samp>v31</samp>&rsquo;.
  103. </p>
  104. <p>The &lsquo;<samp>org.gnu.gdb.s390.gs</samp>&rsquo; feature is optional. It should contain
  105. the 64-bit wide guarded-storage-control registers &lsquo;<samp>gsd</samp>&rsquo;,
  106. &lsquo;<samp>gssm</samp>&rsquo;, and &lsquo;<samp>gsepla</samp>&rsquo;.
  107. </p>
  108. <p>The &lsquo;<samp>org.gnu.gdb.s390.gsbc</samp>&rsquo; feature is optional. It should contain
  109. the 64-bit wide guarded-storage broadcast control registers
  110. &lsquo;<samp>bc_gsd</samp>&rsquo;, &lsquo;<samp>bc_gssm</samp>&rsquo;, and &lsquo;<samp>bc_gsepla</samp>&rsquo;.
  111. </p>
  112. <hr>
  113. <div class="header">
  114. <p>
  115. Next: <a href="Sparc-Features.html#Sparc-Features" accesskey="n" rel="next">Sparc Features</a>, Previous: <a href="RX-Features.html#RX-Features" accesskey="p" rel="previous">RX Features</a>, Up: <a href="Standard-Target-Features.html#Standard-Target-Features" accesskey="u" rel="up">Standard Target Features</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
  116. </div>
  117. </body>
  118. </html>