Work around MinGW mangling of "host:/path"
[msysgit/historical-msysgit.git] / mingw / info / stabs / Main-Program.html
blob22206dad6e532a380bb7043c5d881e91ca2a71d9
1 <html lang="en">
2 <head>
3 <title>STABS</title>
4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="STABS">
6 <meta name="generator" content="makeinfo 4.3">
7 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
8 </head>
9 <body>
10 <div class="node">
11 <p>
12 Node:<a name="Main%20Program">Main Program</a>,
13 Next:<a rel="next" accesskey="n" href="Source-Files.html#Source%20Files">Source Files</a>,
14 Up:<a rel="up" accesskey="u" href="Program-Structure.html#Program%20Structure">Program Structure</a>
15 <hr><br>
16 </div>
18 <h3 class="section">Main Program</h3>
20 <p>Most languages allow the main program to have any name. The
21 <code>N_MAIN</code> stab type tells the debugger the name that is used in this
22 program. Only the string field is significant; it is the name of
23 a function which is the main program. Most C compilers do not use this
24 stab (they expect the debugger to assume that the name is <code>main</code>),
25 but some C compilers emit an <code>N_MAIN</code> stab for the <code>main</code>
26 function. I'm not sure how XCOFF handles this.
28 </body></html>