Fuad Tabba | fed6207 | 2020-09-23 14:47:51 +0100 | [diff] [blame^] | 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-2015 Free Software Foundation, Inc. |
| 4 | |
| 5 | Permission is granted to copy, distribute and/or modify this document |
| 6 | under the terms of the GNU Free Documentation License, Version 1.3 or |
| 7 | any later version published by the Free Software Foundation; with the |
| 8 | Invariant Sections being "Funding Free Software", the Front-Cover |
| 9 | Texts being (a) (see below), and with the Back-Cover Texts being (b) |
| 10 | (see below). A copy of the license is included in the section entitled |
| 11 | "GNU Free Documentation License". |
| 12 | |
| 13 | (a) The FSF's Front-Cover Text is: |
| 14 | |
| 15 | A GNU Manual |
| 16 | |
| 17 | (b) The FSF's Back-Cover Text is: |
| 18 | |
| 19 | You have freedom to copy and modify this GNU Manual, like GNU |
| 20 | software. Copies published by the Free Software Foundation raise |
| 21 | funds for GNU development. --> |
| 22 | <!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ --> |
| 23 | <head> |
| 24 | <title>GNU Compiler Collection (GCC) Internals: File Names and DBX</title> |
| 25 | |
| 26 | <meta name="description" content="GNU Compiler Collection (GCC) Internals: File Names and DBX"> |
| 27 | <meta name="keywords" content="GNU Compiler Collection (GCC) Internals: File Names and DBX"> |
| 28 | <meta name="resource-type" content="document"> |
| 29 | <meta name="distribution" content="global"> |
| 30 | <meta name="Generator" content="makeinfo"> |
| 31 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 32 | <link href="index.html#Top" rel="start" title="Top"> |
| 33 | <link href="Option-Index.html#Option-Index" rel="index" title="Option Index"> |
| 34 | <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> |
| 35 | <link href="Debugging-Info.html#Debugging-Info" rel="up" title="Debugging Info"> |
| 36 | <link href="SDB-and-DWARF.html#SDB-and-DWARF" rel="next" title="SDB and DWARF"> |
| 37 | <link href="DBX-Hooks.html#DBX-Hooks" rel="prev" title="DBX Hooks"> |
| 38 | <style type="text/css"> |
| 39 | <!-- |
| 40 | a.summary-letter {text-decoration: none} |
| 41 | blockquote.smallquotation {font-size: smaller} |
| 42 | div.display {margin-left: 3.2em} |
| 43 | div.example {margin-left: 3.2em} |
| 44 | div.indentedblock {margin-left: 3.2em} |
| 45 | div.lisp {margin-left: 3.2em} |
| 46 | div.smalldisplay {margin-left: 3.2em} |
| 47 | div.smallexample {margin-left: 3.2em} |
| 48 | div.smallindentedblock {margin-left: 3.2em; font-size: smaller} |
| 49 | div.smalllisp {margin-left: 3.2em} |
| 50 | kbd {font-style:oblique} |
| 51 | pre.display {font-family: inherit} |
| 52 | pre.format {font-family: inherit} |
| 53 | pre.menu-comment {font-family: serif} |
| 54 | pre.menu-preformatted {font-family: serif} |
| 55 | pre.smalldisplay {font-family: inherit; font-size: smaller} |
| 56 | pre.smallexample {font-size: smaller} |
| 57 | pre.smallformat {font-family: inherit; font-size: smaller} |
| 58 | pre.smalllisp {font-size: smaller} |
| 59 | span.nocodebreak {white-space:nowrap} |
| 60 | span.nolinebreak {white-space:nowrap} |
| 61 | span.roman {font-family:serif; font-weight:normal} |
| 62 | span.sansserif {font-family:sans-serif; font-weight:normal} |
| 63 | ul.no-bullet {list-style: none} |
| 64 | --> |
| 65 | </style> |
| 66 | |
| 67 | |
| 68 | </head> |
| 69 | |
| 70 | <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> |
| 71 | <a name="File-Names-and-DBX"></a> |
| 72 | <div class="header"> |
| 73 | <p> |
| 74 | Next: <a href="SDB-and-DWARF.html#SDB-and-DWARF" accesskey="n" rel="next">SDB and 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> [<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> |
| 75 | </div> |
| 76 | <hr> |
| 77 | <a name="File-Names-in-DBX-Format"></a> |
| 78 | <h4 class="subsection">17.22.4 File Names in DBX Format</h4> |
| 79 | |
| 80 | <p>This describes file names in DBX format. |
| 81 | </p> |
| 82 | <dl> |
| 83 | <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> |
| 84 | <dd><p>A C statement to output DBX debugging information to the stdio stream |
| 85 | <var>stream</var>, which indicates that file <var>name</var> is the main source |
| 86 | file—the file specified as the input file for compilation. |
| 87 | This macro is called only once, at the beginning of compilation. |
| 88 | </p> |
| 89 | <p>This macro need not be defined if the standard form of output |
| 90 | for DBX debugging information is appropriate. |
| 91 | </p> |
| 92 | <p>It may be necessary to refer to a label equal to the beginning of the |
| 93 | text section. You can use ‘<samp>assemble_name (stream, ltext_label_name)</samp>’ |
| 94 | to do so. If you do this, you must also set the variable |
| 95 | <var>used_ltext_label_name</var> to <code>true</code>. |
| 96 | </p></dd></dl> |
| 97 | |
| 98 | <dl> |
| 99 | <dt><a name="index-NO_005fDBX_005fMAIN_005fSOURCE_005fDIRECTORY"></a>Macro: <strong>NO_DBX_MAIN_SOURCE_DIRECTORY</strong></dt> |
| 100 | <dd><p>Define this macro, with value 1, if GCC should not emit an indication |
| 101 | of the current directory for compilation and current source language at |
| 102 | the beginning of the file. |
| 103 | </p></dd></dl> |
| 104 | |
| 105 | <dl> |
| 106 | <dt><a name="index-NO_005fDBX_005fGCC_005fMARKER"></a>Macro: <strong>NO_DBX_GCC_MARKER</strong></dt> |
| 107 | <dd><p>Define this macro, with value 1, if GCC should not emit an indication |
| 108 | that this object file was compiled by GCC. The default is to emit |
| 109 | an <code>N_OPT</code> stab at the beginning of every source file, with |
| 110 | ‘<samp>gcc2_compiled.</samp>’ for the string and value 0. |
| 111 | </p></dd></dl> |
| 112 | |
| 113 | <dl> |
| 114 | <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> |
| 115 | <dd><p>A C statement to output DBX debugging information at the end of |
| 116 | compilation of the main source file <var>name</var>. Output should be |
| 117 | written to the stdio stream <var>stream</var>. |
| 118 | </p> |
| 119 | <p>If you don’t define this macro, nothing special is output at the end |
| 120 | of compilation, which is correct for most machines. |
| 121 | </p></dd></dl> |
| 122 | |
| 123 | <dl> |
| 124 | <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> |
| 125 | <dd><p>Define this macro <em>instead of</em> defining |
| 126 | <code>DBX_OUTPUT_MAIN_SOURCE_FILE_END</code>, if what needs to be output at |
| 127 | the end of compilation is an <code>N_SO</code> stab with an empty string, |
| 128 | whose value is the highest absolute text address in the file. |
| 129 | </p></dd></dl> |
| 130 | |
| 131 | <hr> |
| 132 | <div class="header"> |
| 133 | <p> |
| 134 | Next: <a href="SDB-and-DWARF.html#SDB-and-DWARF" accesskey="n" rel="next">SDB and 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> [<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> |
| 135 | </div> |
| 136 | |
| 137 | |
| 138 | |
| 139 | </body> |
| 140 | </html> |