diff options
author | Devang Patel <dpatel@apple.com> | 2004-09-17 11:47:19 -0700 |
---|---|---|
committer | Devang Patel <dpatel@gcc.gnu.org> | 2004-09-17 11:47:19 -0700 |
commit | 0456cbf6658808ffc20bbd2080b7c3bdc555d57d (patch) | |
tree | 3e4dbb0e879325eb0d0cdf3028153f26ee13af5c /gcc/dbxout.h | |
parent | 7eae8eb2b14e45981c040b77fcdbb477572c0403 (diff) | |
download | gcc-0456cbf6658808ffc20bbd2080b7c3bdc555d57d.tar.gz |
dbxout.c (get_lang_number): New.
* dbxout.c (get_lang_number): New.
(dbxout_init): Include lang number in N_SO stab.
* dbxout.h (N_SO_AS, N_SO_C, N_SO_ANSI_C, N_SO_CC, N_SO_FORTRAN,
N_SO_PASCAL, N_SO_FORTRAN90, N_SO_OBJC, N_SO_OBJCPLUS): New #define.
testsuite
* gcc.dg/20040813-1.c: New test.
From-SVN: r87663
Diffstat (limited to 'gcc/dbxout.h')
-rw-r--r-- | gcc/dbxout.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/dbxout.h b/gcc/dbxout.h index 1d3a2927cea..dcbd01112bf 100644 --- a/gcc/dbxout.h +++ b/gcc/dbxout.h @@ -27,4 +27,15 @@ extern void dbxout_parms (tree); extern void dbxout_reg_parms (tree); extern int dbxout_syms (tree); +/* Language description for N_SO stabs. */ +#define N_SO_AS 1 +#define N_SO_C 2 +#define N_SO_ANSI_C 3 +#define N_SO_CC 4 /* c++*/ +#define N_SO_FORTRAN 5 +#define N_SO_PASCAL 6 +#define N_SO_FORTRAN90 7 +#define N_SO_OBJC 50 +#define N_SO_OBJCPLUS 51 + #endif /* GCC_DBXOUT_H */ |