aboutsummaryrefslogtreecommitdiff
path: root/include/coff/symconst.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-04-14 21:34:02 +0000
committerFred Fish <fnf@specifix.com>1992-04-14 21:34:02 +0000
commitf0e8711d9e3d33f04af5b7dfa9d2bd0fab7c36df (patch)
treefb1e488c14341e201af3778b6498a9eb3bc2a01b /include/coff/symconst.h
parent8616205a75594574f603d2cd52c5db7fbe3747f2 (diff)
downloadgdb-f0e8711d9e3d33f04af5b7dfa9d2bd0fab7c36df.zip
gdb-f0e8711d9e3d33f04af5b7dfa9d2bd0fab7c36df.tar.gz
gdb-f0e8711d9e3d33f04af5b7dfa9d2bd0fab7c36df.tar.bz2
Pick up SGI defines for langCplusplus, langCplusplusV2, stStruct, stUnion,
and stEnum. The last three are required to be able to build the current checked in gdb on a non-sgi machine.
Diffstat (limited to 'include/coff/symconst.h')
-rw-r--r--include/coff/symconst.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/coff/symconst.h b/include/coff/symconst.h
index ecd7835..8efdda1 100644
--- a/include/coff/symconst.h
+++ b/include/coff/symconst.h
@@ -1,3 +1,7 @@
+/* Declarations of constants for internal format of MIPS ECOFF symbols.
+ Originally contributed by MIPS Computer Systems and Third Eye Software.
+ Changes contributed by Cygnus Support are in the public domain. */
+
/*
* |-----------------------------------------------------------|
* | Copyright (c) 1992, 1991, 1990 MIPS Computer Systems, Inc.|
@@ -36,8 +40,10 @@
#define langAda 6
#define langPl1 7
#define langCobol 8
-#define langStdc 9
-#define langMax 10 /* maximun allowed 32 -- 5 bits */
+#define langStdc 9 /* FIXME: Collides with SGI langCplusplus
+#define langCplusplus 9 /* FIXME: Collides with langStdc */
+#define langCplusplusV2 10 /* SGI addition */
+#define langMax 11 /* maximun allowed 32 -- 5 bits */
/* The following are value definitions for the fields in the SYMR */
@@ -97,6 +103,10 @@
#define stStaticProc 14 /* load time only static procs */
#define stConstant 15 /* const */
#define stStaParam 16 /* Fortran static parameters */
+ /* Additions to match sgi version */
+#define stStruct 26 /* begin struct kind of stBlock */
+#define stUnion 27 /* begin Union kind of stBlock */
+#define stEnum 28 /* begin Enum kind of stBlock */
/* Psuedo-symbols - internal to debugger */
#define stStr 60 /* string */
#define stNumber 61 /* pure number (ie. 4 NOR 2+2) */