Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

238 lines
11KB

  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 "Funding Free Software", the Front-Cover
  8. Texts being (a) (see below), and with the Back-Cover Texts being (b)
  9. (see below). A copy of the license is included in the section entitled
  10. "GNU Free Documentation License".
  11. (a) The FSF's Front-Cover Text is:
  12. A GNU Manual
  13. (b) The FSF's Back-Cover Text is:
  14. You have freedom to copy and modify this GNU Manual, like GNU
  15. software. Copies published by the Free Software Foundation raise
  16. funds for GNU development. -->
  17. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  18. <head>
  19. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  20. <title>DBX Options (GNU Compiler Collection (GCC) Internals)</title>
  21. <meta name="description" content="DBX Options (GNU Compiler Collection (GCC) Internals)">
  22. <meta name="keywords" content="DBX Options (GNU Compiler Collection (GCC) Internals)">
  23. <meta name="resource-type" content="document">
  24. <meta name="distribution" content="global">
  25. <meta name="Generator" content="makeinfo">
  26. <link href="index.html#Top" rel="start" title="Top">
  27. <link href="Option-Index.html#Option-Index" rel="index" title="Option Index">
  28. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  29. <link href="Debugging-Info.html#Debugging-Info" rel="up" title="Debugging Info">
  30. <link href="DBX-Hooks.html#DBX-Hooks" rel="next" title="DBX Hooks">
  31. <link href="All-Debuggers.html#All-Debuggers" rel="prev" title="All Debuggers">
  32. <style type="text/css">
  33. <!--
  34. a.summary-letter {text-decoration: none}
  35. blockquote.indentedblock {margin-right: 0em}
  36. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  37. blockquote.smallquotation {font-size: smaller}
  38. div.display {margin-left: 3.2em}
  39. div.example {margin-left: 3.2em}
  40. div.lisp {margin-left: 3.2em}
  41. div.smalldisplay {margin-left: 3.2em}
  42. div.smallexample {margin-left: 3.2em}
  43. div.smalllisp {margin-left: 3.2em}
  44. kbd {font-style: oblique}
  45. pre.display {font-family: inherit}
  46. pre.format {font-family: inherit}
  47. pre.menu-comment {font-family: serif}
  48. pre.menu-preformatted {font-family: serif}
  49. pre.smalldisplay {font-family: inherit; font-size: smaller}
  50. pre.smallexample {font-size: smaller}
  51. pre.smallformat {font-family: inherit; font-size: smaller}
  52. pre.smalllisp {font-size: smaller}
  53. span.nolinebreak {white-space: nowrap}
  54. span.roman {font-family: initial; font-weight: normal}
  55. span.sansserif {font-family: sans-serif; font-weight: normal}
  56. ul.no-bullet {list-style: none}
  57. -->
  58. </style>
  59. </head>
  60. <body lang="en">
  61. <a name="DBX-Options"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="DBX-Hooks.html#DBX-Hooks" accesskey="n" rel="next">DBX Hooks</a>, Previous: <a href="All-Debuggers.html#All-Debuggers" accesskey="p" rel="prev">All Debuggers</a>, Up: <a href="Debugging-Info.html#Debugging-Info" accesskey="u" rel="up">Debugging Info</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html#Option-Index" title="Index" rel="index">Index</a>]</p>
  65. </div>
  66. <hr>
  67. <a name="Specific-Options-for-DBX-Output"></a>
  68. <h4 class="subsection">18.21.2 Specific Options for DBX Output</h4>
  69. <p>These are specific options for DBX output.
  70. </p>
  71. <dl>
  72. <dt><a name="index-DBX_005fDEBUGGING_005fINFO"></a>Macro: <strong>DBX_DEBUGGING_INFO</strong></dt>
  73. <dd><p>Define this macro if GCC should produce debugging output for DBX
  74. in response to the <samp>-g</samp> option.
  75. </p></dd></dl>
  76. <dl>
  77. <dt><a name="index-XCOFF_005fDEBUGGING_005fINFO"></a>Macro: <strong>XCOFF_DEBUGGING_INFO</strong></dt>
  78. <dd><p>Define this macro if GCC should produce XCOFF format debugging output
  79. in response to the <samp>-g</samp> option. This is a variant of DBX format.
  80. </p></dd></dl>
  81. <dl>
  82. <dt><a name="index-DEFAULT_005fGDB_005fEXTENSIONS"></a>Macro: <strong>DEFAULT_GDB_EXTENSIONS</strong></dt>
  83. <dd><p>Define this macro to control whether GCC should by default generate
  84. GDB&rsquo;s extended version of DBX debugging information (assuming DBX-format
  85. debugging information is enabled at all). If you don&rsquo;t define the
  86. macro, the default is 1: always generate the extended information
  87. if there is any occasion to.
  88. </p></dd></dl>
  89. <dl>
  90. <dt><a name="index-DEBUG_005fSYMS_005fTEXT"></a>Macro: <strong>DEBUG_SYMS_TEXT</strong></dt>
  91. <dd><p>Define this macro if all <code>.stabs</code> commands should be output while
  92. in the text section.
  93. </p></dd></dl>
  94. <dl>
  95. <dt><a name="index-ASM_005fSTABS_005fOP"></a>Macro: <strong>ASM_STABS_OP</strong></dt>
  96. <dd><p>A C string constant, including spacing, naming the assembler pseudo op to
  97. use instead of <code>&quot;\t.stabs\t&quot;</code> to define an ordinary debugging symbol.
  98. If you don&rsquo;t define this macro, <code>&quot;\t.stabs\t&quot;</code> is used. This macro
  99. applies only to DBX debugging information format.
  100. </p></dd></dl>
  101. <dl>
  102. <dt><a name="index-ASM_005fSTABD_005fOP"></a>Macro: <strong>ASM_STABD_OP</strong></dt>
  103. <dd><p>A C string constant, including spacing, naming the assembler pseudo op to
  104. use instead of <code>&quot;\t.stabd\t&quot;</code> to define a debugging symbol whose
  105. value is the current location. If you don&rsquo;t define this macro,
  106. <code>&quot;\t.stabd\t&quot;</code> is used. This macro applies only to DBX debugging
  107. information format.
  108. </p></dd></dl>
  109. <dl>
  110. <dt><a name="index-ASM_005fSTABN_005fOP"></a>Macro: <strong>ASM_STABN_OP</strong></dt>
  111. <dd><p>A C string constant, including spacing, naming the assembler pseudo op to
  112. use instead of <code>&quot;\t.stabn\t&quot;</code> to define a debugging symbol with no
  113. name. If you don&rsquo;t define this macro, <code>&quot;\t.stabn\t&quot;</code> is used. This
  114. macro applies only to DBX debugging information format.
  115. </p></dd></dl>
  116. <dl>
  117. <dt><a name="index-DBX_005fNO_005fXREFS"></a>Macro: <strong>DBX_NO_XREFS</strong></dt>
  118. <dd><p>Define this macro if DBX on your system does not support the construct
  119. &lsquo;<samp>xs<var>tagname</var></samp>&rsquo;. On some systems, this construct is used to
  120. describe a forward reference to a structure named <var>tagname</var>.
  121. On other systems, this construct is not supported at all.
  122. </p></dd></dl>
  123. <dl>
  124. <dt><a name="index-DBX_005fCONTIN_005fLENGTH"></a>Macro: <strong>DBX_CONTIN_LENGTH</strong></dt>
  125. <dd><p>A symbol name in DBX-format debugging information is normally
  126. continued (split into two separate <code>.stabs</code> directives) when it
  127. exceeds a certain length (by default, 80 characters). On some
  128. operating systems, DBX requires this splitting; on others, splitting
  129. must not be done. You can inhibit splitting by defining this macro
  130. with the value zero. You can override the default splitting-length by
  131. defining this macro as an expression for the length you desire.
  132. </p></dd></dl>
  133. <dl>
  134. <dt><a name="index-DBX_005fCONTIN_005fCHAR"></a>Macro: <strong>DBX_CONTIN_CHAR</strong></dt>
  135. <dd><p>Normally continuation is indicated by adding a &lsquo;<samp>\</samp>&rsquo; character to
  136. the end of a <code>.stabs</code> string when a continuation follows. To use
  137. a different character instead, define this macro as a character
  138. constant for the character you want to use. Do not define this macro
  139. if backslash is correct for your system.
  140. </p></dd></dl>
  141. <dl>
  142. <dt><a name="index-DBX_005fSTATIC_005fSTAB_005fDATA_005fSECTION"></a>Macro: <strong>DBX_STATIC_STAB_DATA_SECTION</strong></dt>
  143. <dd><p>Define this macro if it is necessary to go to the data section before
  144. outputting the &lsquo;<samp>.stabs</samp>&rsquo; pseudo-op for a non-global static
  145. variable.
  146. </p></dd></dl>
  147. <dl>
  148. <dt><a name="index-DBX_005fTYPE_005fDECL_005fSTABS_005fCODE"></a>Macro: <strong>DBX_TYPE_DECL_STABS_CODE</strong></dt>
  149. <dd><p>The value to use in the &ldquo;code&rdquo; field of the <code>.stabs</code> directive
  150. for a typedef. The default is <code>N_LSYM</code>.
  151. </p></dd></dl>
  152. <dl>
  153. <dt><a name="index-DBX_005fSTATIC_005fCONST_005fVAR_005fCODE"></a>Macro: <strong>DBX_STATIC_CONST_VAR_CODE</strong></dt>
  154. <dd><p>The value to use in the &ldquo;code&rdquo; field of the <code>.stabs</code> directive
  155. for a static variable located in the text section. DBX format does not
  156. provide any &ldquo;right&rdquo; way to do this. The default is <code>N_FUN</code>.
  157. </p></dd></dl>
  158. <dl>
  159. <dt><a name="index-DBX_005fREGPARM_005fSTABS_005fCODE"></a>Macro: <strong>DBX_REGPARM_STABS_CODE</strong></dt>
  160. <dd><p>The value to use in the &ldquo;code&rdquo; field of the <code>.stabs</code> directive
  161. for a parameter passed in registers. DBX format does not provide any
  162. &ldquo;right&rdquo; way to do this. The default is <code>N_RSYM</code>.
  163. </p></dd></dl>
  164. <dl>
  165. <dt><a name="index-DBX_005fREGPARM_005fSTABS_005fLETTER"></a>Macro: <strong>DBX_REGPARM_STABS_LETTER</strong></dt>
  166. <dd><p>The letter to use in DBX symbol data to identify a symbol as a parameter
  167. passed in registers. DBX format does not customarily provide any way to
  168. do this. The default is <code>'P'</code>.
  169. </p></dd></dl>
  170. <dl>
  171. <dt><a name="index-DBX_005fFUNCTION_005fFIRST"></a>Macro: <strong>DBX_FUNCTION_FIRST</strong></dt>
  172. <dd><p>Define this macro if the DBX information for a function and its
  173. arguments should precede the assembler code for the function. Normally,
  174. in DBX format, the debugging information entirely follows the assembler
  175. code.
  176. </p></dd></dl>
  177. <dl>
  178. <dt><a name="index-DBX_005fBLOCKS_005fFUNCTION_005fRELATIVE"></a>Macro: <strong>DBX_BLOCKS_FUNCTION_RELATIVE</strong></dt>
  179. <dd><p>Define this macro, with value 1, if the value of a symbol describing
  180. the scope of a block (<code>N_LBRAC</code> or <code>N_RBRAC</code>) should be
  181. relative to the start of the enclosing function. Normally, GCC uses
  182. an absolute address.
  183. </p></dd></dl>
  184. <dl>
  185. <dt><a name="index-DBX_005fLINES_005fFUNCTION_005fRELATIVE"></a>Macro: <strong>DBX_LINES_FUNCTION_RELATIVE</strong></dt>
  186. <dd><p>Define this macro, with value 1, if the value of a symbol indicating
  187. the current line number (<code>N_SLINE</code>) should be relative to the
  188. start of the enclosing function. Normally, GCC uses an absolute address.
  189. </p></dd></dl>
  190. <dl>
  191. <dt><a name="index-DBX_005fUSE_005fBINCL"></a>Macro: <strong>DBX_USE_BINCL</strong></dt>
  192. <dd><p>Define this macro if GCC should generate <code>N_BINCL</code> and
  193. <code>N_EINCL</code> stabs for included header files, as on Sun systems. This
  194. macro also directs GCC to output a type number as a pair of a file
  195. number and a type number within the file. Normally, GCC does not
  196. generate <code>N_BINCL</code> or <code>N_EINCL</code> stabs, and it outputs a single
  197. number for a type number.
  198. </p></dd></dl>
  199. <hr>
  200. <div class="header">
  201. <p>
  202. Next: <a href="DBX-Hooks.html#DBX-Hooks" accesskey="n" rel="next">DBX Hooks</a>, Previous: <a href="All-Debuggers.html#All-Debuggers" accesskey="p" rel="prev">All Debuggers</a>, Up: <a href="Debugging-Info.html#Debugging-Info" accesskey="u" rel="up">Debugging Info</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html#Option-Index" title="Index" rel="index">Index</a>]</p>
  203. </div>
  204. </body>
  205. </html>