www.delorie.com/gnu/docs/gdb/stabs_8.html   search  
Buy the book!


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.1 Main Program

Most languages allow the main program to have any name. The N_MAIN stab type tells the debugger the name that is used in this program. Only the string field is significant; it is the name of a function which is the main program. Most C compilers do not use this stab (they expect the debugger to assume that the name is main), but some C compilers emit an N_MAIN stab for the main function. I'm not sure how XCOFF handles this.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003