選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

197 行
7.1KB

  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 6.5, http://www.gnu.org/software/texinfo/ -->
  14. <head>
  15. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  16. <title>ARM (Debugging with GDB)</title>
  17. <meta name="description" content="ARM (Debugging with GDB)">
  18. <meta name="keywords" content="ARM (Debugging with GDB)">
  19. <meta name="resource-type" content="document">
  20. <meta name="distribution" content="global">
  21. <meta name="Generator" content="makeinfo">
  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="Embedded-Processors.html#Embedded-Processors" rel="up" title="Embedded Processors">
  26. <link href="BPF.html#BPF" rel="next" title="BPF">
  27. <link href="ARC.html#ARC" rel="prev" title="ARC">
  28. <style type="text/css">
  29. <!--
  30. a.summary-letter {text-decoration: none}
  31. blockquote.indentedblock {margin-right: 0em}
  32. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  33. blockquote.smallquotation {font-size: smaller}
  34. div.display {margin-left: 3.2em}
  35. div.example {margin-left: 3.2em}
  36. div.lisp {margin-left: 3.2em}
  37. div.smalldisplay {margin-left: 3.2em}
  38. div.smallexample {margin-left: 3.2em}
  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.nolinebreak {white-space: nowrap}
  50. span.roman {font-family: initial; font-weight: normal}
  51. span.sansserif {font-family: sans-serif; font-weight: normal}
  52. ul.no-bullet {list-style: none}
  53. -->
  54. </style>
  55. </head>
  56. <body lang="en">
  57. <a name="ARM"></a>
  58. <div class="header">
  59. <p>
  60. Next: <a href="BPF.html#BPF" accesskey="n" rel="next">BPF</a>, Previous: <a href="ARC.html#ARC" accesskey="p" rel="prev">ARC</a>, Up: <a href="Embedded-Processors.html#Embedded-Processors" accesskey="u" rel="up">Embedded Processors</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>
  61. </div>
  62. <hr>
  63. <a name="ARM-1"></a>
  64. <h4 class="subsection">21.3.2 ARM</h4>
  65. <p><small>GDB</small> provides the following ARM-specific commands:
  66. </p>
  67. <dl compact="compact">
  68. <dt><code>set arm disassembler</code></dt>
  69. <dd><a name="index-set-arm"></a>
  70. <p>This commands selects from a list of disassembly styles. The
  71. <code>&quot;std&quot;</code> style is the standard style.
  72. </p>
  73. </dd>
  74. <dt><code>show arm disassembler</code></dt>
  75. <dd><a name="index-show-arm"></a>
  76. <p>Show the current disassembly style.
  77. </p>
  78. </dd>
  79. <dt><code>set arm apcs32</code></dt>
  80. <dd><a name="index-ARM-32_002dbit-mode"></a>
  81. <p>This command toggles ARM operation mode between 32-bit and 26-bit.
  82. </p>
  83. </dd>
  84. <dt><code>show arm apcs32</code></dt>
  85. <dd><p>Display the current usage of the ARM 32-bit mode.
  86. </p>
  87. </dd>
  88. <dt><code>set arm fpu <var>fputype</var></code></dt>
  89. <dd><p>This command sets the ARM floating-point unit (FPU) type. The
  90. argument <var>fputype</var> can be one of these:
  91. </p>
  92. <dl compact="compact">
  93. <dt><code>auto</code></dt>
  94. <dd><p>Determine the FPU type by querying the OS ABI.
  95. </p></dd>
  96. <dt><code>softfpa</code></dt>
  97. <dd><p>Software FPU, with mixed-endian doubles on little-endian ARM
  98. processors.
  99. </p></dd>
  100. <dt><code>fpa</code></dt>
  101. <dd><p>GCC-compiled FPA co-processor.
  102. </p></dd>
  103. <dt><code>softvfp</code></dt>
  104. <dd><p>Software FPU with pure-endian doubles.
  105. </p></dd>
  106. <dt><code>vfp</code></dt>
  107. <dd><p>VFP co-processor.
  108. </p></dd>
  109. </dl>
  110. </dd>
  111. <dt><code>show arm fpu</code></dt>
  112. <dd><p>Show the current type of the FPU.
  113. </p>
  114. </dd>
  115. <dt><code>set arm abi</code></dt>
  116. <dd><p>This command forces <small>GDB</small> to use the specified ABI.
  117. </p>
  118. </dd>
  119. <dt><code>show arm abi</code></dt>
  120. <dd><p>Show the currently used ABI.
  121. </p>
  122. </dd>
  123. <dt><code>set arm fallback-mode (arm|thumb|auto)</code></dt>
  124. <dd><p><small>GDB</small> uses the symbol table, when available, to determine
  125. whether instructions are ARM or Thumb. This command controls
  126. <small>GDB</small>&rsquo;s default behavior when the symbol table is not
  127. available. The default is &lsquo;<samp>auto</samp>&rsquo;, which causes <small>GDB</small> to
  128. use the current execution mode (from the <code>T</code> bit in the <code>CPSR</code>
  129. register).
  130. </p>
  131. </dd>
  132. <dt><code>show arm fallback-mode</code></dt>
  133. <dd><p>Show the current fallback instruction mode.
  134. </p>
  135. </dd>
  136. <dt><code>set arm force-mode (arm|thumb|auto)</code></dt>
  137. <dd><p>This command overrides use of the symbol table to determine whether
  138. instructions are ARM or Thumb. The default is &lsquo;<samp>auto</samp>&rsquo;, which
  139. causes <small>GDB</small> to use the symbol table and then the setting
  140. of &lsquo;<samp>set arm fallback-mode</samp>&rsquo;.
  141. </p>
  142. </dd>
  143. <dt><code>show arm force-mode</code></dt>
  144. <dd><p>Show the current forced instruction mode.
  145. </p>
  146. </dd>
  147. <dt><code>set debug arm</code></dt>
  148. <dd><p>Toggle whether to display ARM-specific debugging messages from the ARM
  149. target support subsystem.
  150. </p>
  151. </dd>
  152. <dt><code>show debug arm</code></dt>
  153. <dd><p>Show whether ARM-specific debugging messages are enabled.
  154. </p></dd>
  155. </dl>
  156. <dl compact="compact">
  157. <dt><code>target sim <span class="roman">[</span><var>simargs</var><span class="roman">]</span> &hellip;</code></dt>
  158. <dd><p>The <small>GDB</small> ARM simulator accepts the following optional arguments.
  159. </p>
  160. <dl compact="compact">
  161. <dt><code>--swi-support=<var>type</var></code></dt>
  162. <dd><p>Tell the simulator which SWI interfaces to support. The argument
  163. <var>type</var> may be a comma separated list of the following values.
  164. The default value is <code>all</code>.
  165. </p>
  166. <dl compact="compact">
  167. <dt><code>none</code></dt>
  168. <dt><code>demon</code></dt>
  169. <dt><code>angel</code></dt>
  170. <dt><code>redboot</code></dt>
  171. <dt><code>all</code></dt>
  172. </dl>
  173. </dd>
  174. </dl>
  175. </dd>
  176. </dl>
  177. <hr>
  178. <div class="header">
  179. <p>
  180. Next: <a href="BPF.html#BPF" accesskey="n" rel="next">BPF</a>, Previous: <a href="ARC.html#ARC" accesskey="p" rel="prev">ARC</a>, Up: <a href="Embedded-Processors.html#Embedded-Processors" accesskey="u" rel="up">Embedded Processors</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>
  181. </div>
  182. </body>
  183. </html>