Go forward to Stab Sections.
Go backward to Questions.
Go up to Top.

Differences Between GNU Stabs and Sun Native Stabs
**************************************************

   * GNU C stabs define *all* types, file or procedure scope, as
     `N_LSYM'.  Sun doc talks about using `N_GSYM' too.

   * Sun C stabs use type number pairs in the format
     (FILE-NUMBER,TYPE-NUMBER) where FILE-NUMBER is a number starting
     with 1 and incremented for each sub-source file in the
     compilation.  TYPE-NUMBER is a number starting with 1 and
     incremented for each new type defined in the compilation.  GNU C
     stabs use the type number alone, with no source file number.