Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

140 lines
6.5KB

  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>File Names and DBX (GNU Compiler Collection (GCC) Internals)</title>
  21. <meta name="description" content="File Names and DBX (GNU Compiler Collection (GCC) Internals)">
  22. <meta name="keywords" content="File Names and DBX (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="DWARF.html#DWARF" rel="next" title="DWARF">
  31. <link href="DBX-Hooks.html#DBX-Hooks" rel="prev" title="DBX Hooks">
  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="File-Names-and-DBX"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="DWARF.html#DWARF" accesskey="n" rel="next">DWARF</a>, Previous: <a href="DBX-Hooks.html#DBX-Hooks" accesskey="p" rel="prev">DBX Hooks</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="File-Names-in-DBX-Format"></a>
  68. <h4 class="subsection">18.21.4 File Names in DBX Format</h4>
  69. <p>This describes file names in DBX format.
  70. </p>
  71. <dl>
  72. <dt><a name="index-DBX_005fOUTPUT_005fMAIN_005fSOURCE_005fFILENAME"></a>Macro: <strong>DBX_OUTPUT_MAIN_SOURCE_FILENAME</strong> <em>(<var>stream</var>, <var>name</var>)</em></dt>
  73. <dd><p>A C statement to output DBX debugging information to the stdio stream
  74. <var>stream</var>, which indicates that file <var>name</var> is the main source
  75. file&mdash;the file specified as the input file for compilation.
  76. This macro is called only once, at the beginning of compilation.
  77. </p>
  78. <p>This macro need not be defined if the standard form of output
  79. for DBX debugging information is appropriate.
  80. </p>
  81. <p>It may be necessary to refer to a label equal to the beginning of the
  82. text section. You can use &lsquo;<samp>assemble_name (stream, ltext_label_name)</samp>&rsquo;
  83. to do so. If you do this, you must also set the variable
  84. <var>used_ltext_label_name</var> to <code>true</code>.
  85. </p></dd></dl>
  86. <dl>
  87. <dt><a name="index-NO_005fDBX_005fMAIN_005fSOURCE_005fDIRECTORY"></a>Macro: <strong>NO_DBX_MAIN_SOURCE_DIRECTORY</strong></dt>
  88. <dd><p>Define this macro, with value 1, if GCC should not emit an indication
  89. of the current directory for compilation and current source language at
  90. the beginning of the file.
  91. </p></dd></dl>
  92. <dl>
  93. <dt><a name="index-NO_005fDBX_005fGCC_005fMARKER"></a>Macro: <strong>NO_DBX_GCC_MARKER</strong></dt>
  94. <dd><p>Define this macro, with value 1, if GCC should not emit an indication
  95. that this object file was compiled by GCC. The default is to emit
  96. an <code>N_OPT</code> stab at the beginning of every source file, with
  97. &lsquo;<samp>gcc2_compiled.</samp>&rsquo; for the string and value 0.
  98. </p></dd></dl>
  99. <dl>
  100. <dt><a name="index-DBX_005fOUTPUT_005fMAIN_005fSOURCE_005fFILE_005fEND"></a>Macro: <strong>DBX_OUTPUT_MAIN_SOURCE_FILE_END</strong> <em>(<var>stream</var>, <var>name</var>)</em></dt>
  101. <dd><p>A C statement to output DBX debugging information at the end of
  102. compilation of the main source file <var>name</var>. Output should be
  103. written to the stdio stream <var>stream</var>.
  104. </p>
  105. <p>If you don&rsquo;t define this macro, nothing special is output at the end
  106. of compilation, which is correct for most machines.
  107. </p></dd></dl>
  108. <dl>
  109. <dt><a name="index-DBX_005fOUTPUT_005fNULL_005fN_005fSO_005fAT_005fMAIN_005fSOURCE_005fFILE_005fEND"></a>Macro: <strong>DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END</strong></dt>
  110. <dd><p>Define this macro <em>instead of</em> defining
  111. <code>DBX_OUTPUT_MAIN_SOURCE_FILE_END</code>, if what needs to be output at
  112. the end of compilation is an <code>N_SO</code> stab with an empty string,
  113. whose value is the highest absolute text address in the file.
  114. </p></dd></dl>
  115. <hr>
  116. <div class="header">
  117. <p>
  118. Next: <a href="DWARF.html#DWARF" accesskey="n" rel="next">DWARF</a>, Previous: <a href="DBX-Hooks.html#DBX-Hooks" accesskey="p" rel="prev">DBX Hooks</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>
  119. </div>
  120. </body>
  121. </html>