xref: /dflybsd-src/contrib/gdb-7/include/aout/stab_gnu.h (revision 86d7f5d305c6adaa56ff4582ece9859d73106103)
1*86d7f5d3SJohn Marino /* gnu_stab.h  Definitions for GNU extensions to STABS
2*86d7f5d3SJohn Marino 
3*86d7f5d3SJohn Marino    Copyright 2001, 2010 Free Software Foundation, Inc.
4*86d7f5d3SJohn Marino 
5*86d7f5d3SJohn Marino    This program is free software; you can redistribute it and/or modify
6*86d7f5d3SJohn Marino    it under the terms of the GNU General Public License as published by
7*86d7f5d3SJohn Marino    the Free Software Foundation; either version 3 of the License, or
8*86d7f5d3SJohn Marino    (at your option) any later version.
9*86d7f5d3SJohn Marino 
10*86d7f5d3SJohn Marino    This program is distributed in the hope that it will be useful,
11*86d7f5d3SJohn Marino    but WITHOUT ANY WARRANTY; without even the implied warranty of
12*86d7f5d3SJohn Marino    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13*86d7f5d3SJohn Marino    GNU General Public License for more details.
14*86d7f5d3SJohn Marino 
15*86d7f5d3SJohn Marino    You should have received a copy of the GNU General Public License
16*86d7f5d3SJohn Marino    along with this program; if not, write to the Free Software
17*86d7f5d3SJohn Marino    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
18*86d7f5d3SJohn Marino    MA 02110-1301, USA.  */
19*86d7f5d3SJohn Marino #ifndef __GNU_STAB__
20*86d7f5d3SJohn Marino 
21*86d7f5d3SJohn Marino /* Indicate the GNU stab.h is in use.  */
22*86d7f5d3SJohn Marino 
23*86d7f5d3SJohn Marino #define __GNU_STAB__
24*86d7f5d3SJohn Marino 
25*86d7f5d3SJohn Marino #define __define_stab(NAME, CODE, STRING) NAME=CODE,
26*86d7f5d3SJohn Marino #define __define_stab_duplicate(NAME, CODE, STRING) NAME=CODE,
27*86d7f5d3SJohn Marino 
28*86d7f5d3SJohn Marino enum __stab_debug_code
29*86d7f5d3SJohn Marino {
30*86d7f5d3SJohn Marino #include "aout/stab.def"
31*86d7f5d3SJohn Marino LAST_UNUSED_STAB_CODE
32*86d7f5d3SJohn Marino };
33*86d7f5d3SJohn Marino 
34*86d7f5d3SJohn Marino #undef __define_stab
35*86d7f5d3SJohn Marino 
36*86d7f5d3SJohn Marino /* Definitions of "desc" field for N_SO stabs in Solaris2.  */
37*86d7f5d3SJohn Marino 
38*86d7f5d3SJohn Marino #define	N_SO_AS		1
39*86d7f5d3SJohn Marino #define	N_SO_C		2
40*86d7f5d3SJohn Marino #define	N_SO_ANSI_C	3
41*86d7f5d3SJohn Marino #define	N_SO_CC		4	/* C++ */
42*86d7f5d3SJohn Marino #define	N_SO_FORTRAN	5
43*86d7f5d3SJohn Marino #define	N_SO_PASCAL	6
44*86d7f5d3SJohn Marino 
45*86d7f5d3SJohn Marino /* Solaris2: Floating point type values in basic types.  */
46*86d7f5d3SJohn Marino 
47*86d7f5d3SJohn Marino #define	NF_NONE		0
48*86d7f5d3SJohn Marino #define	NF_SINGLE	1	/* IEEE 32-bit */
49*86d7f5d3SJohn Marino #define	NF_DOUBLE	2	/* IEEE 64-bit */
50*86d7f5d3SJohn Marino #define	NF_COMPLEX	3	/* Fortran complex */
51*86d7f5d3SJohn Marino #define	NF_COMPLEX16	4	/* Fortran double complex */
52*86d7f5d3SJohn Marino #define	NF_COMPLEX32	5	/* Fortran complex*16 */
53*86d7f5d3SJohn Marino #define	NF_LDOUBLE	6	/* Long double (whatever that is) */
54*86d7f5d3SJohn Marino 
55*86d7f5d3SJohn Marino #endif /* __GNU_STAB_ */
56