OSDN Git Service

* demangle.h: (DMGL_EDG): new macro for Kuck and Associates
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Dec 1998 23:32:23 +0000 (23:32 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Dec 1998 23:32:23 +0000 (23:32 +0000)
        (DMGL_STYLE_MASK): modify to include Kuck and Assoc style
        (demangling_styles): add new edg_demangling style
        (EDG_DEMANGLING_STYLE_STRING): new macro
        (EDG_DEMANGLING): new macro
        * demangle.h (DMGL_HP): new macro, for HP/aCC compiler.
        (DMGL_STYLE_MASK): modify to include new HP's style.
        (demangling_styles): add new hp_demangling value.
        (HP_DEMANGLING_STYLE_STRING): new macro.
        (ARM_DEMANGLING): coerce to int.
        (HP_DEMANGLING): new macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24173 138bc75d-0d04-0410-961f-82ee72b054a4

include/ChangeLog
include/demangle.h

index 8d00933..484782c 100644 (file)
@@ -1,3 +1,18 @@
+Tue Dec  8 00:30:31 1998  Elena Zannoni  <ezannoni@kwikemart.cygnus.com> 
+
+        * demangle.h: (DMGL_EDG): new macro for Kuck and Associates
+        (DMGL_STYLE_MASK): modify to include Kuck and Assoc style
+        (demangling_styles): add new edg_demangling style
+        (EDG_DEMANGLING_STYLE_STRING): new macro
+        (EDG_DEMANGLING): new macro
+
+        * demangle.h (DMGL_HP): new macro, for HP/aCC compiler.
+        (DMGL_STYLE_MASK): modify to include new HP's style.
+        (demangling_styles): add new hp_demangling value.
+        (HP_DEMANGLING_STYLE_STRING): new macro.
+        (ARM_DEMANGLING): coerce to int.
+        (HP_DEMANGLING): new macro.
+
 Fri Nov 13 19:19:11 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * libiberty.h: Prototype xcalloc.
 Fri Nov 13 19:19:11 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * libiberty.h: Prototype xcalloc.
index 5bca39c..2b9d179 100644 (file)
 #define DMGL_GNU       (1 << 9)
 #define DMGL_LUCID     (1 << 10)
 #define DMGL_ARM       (1 << 11)
 #define DMGL_GNU       (1 << 9)
 #define DMGL_LUCID     (1 << 10)
 #define DMGL_ARM       (1 << 11)
+#define DMGL_HP        (1 << 12)       /* For the HP aCC compiler; same as ARM
+                                           except for template arguments, etc. */
+#define DMGL_EDG       (1 << 13)
+
 /* If none of these are set, use 'current_demangling_style' as the default. */
 /* If none of these are set, use 'current_demangling_style' as the default. */
-#define DMGL_STYLE_MASK (DMGL_AUTO|DMGL_GNU|DMGL_LUCID|DMGL_ARM)
+#define DMGL_STYLE_MASK (DMGL_AUTO|DMGL_GNU|DMGL_LUCID|DMGL_ARM|DMGL_HP|DMGL_EDG)
 
 /* Enumeration of possible demangling styles.
 
 
 /* Enumeration of possible demangling styles.
 
@@ -52,7 +56,9 @@ extern enum demangling_styles
   auto_demangling = DMGL_AUTO,
   gnu_demangling = DMGL_GNU,
   lucid_demangling = DMGL_LUCID,
   auto_demangling = DMGL_AUTO,
   gnu_demangling = DMGL_GNU,
   lucid_demangling = DMGL_LUCID,
-  arm_demangling = DMGL_ARM
+  arm_demangling = DMGL_ARM,
+  hp_demangling = DMGL_HP,
+  edg_demangling = DMGL_EDG
 } current_demangling_style;
 
 /* Define string names for the various demangling styles. */
 } current_demangling_style;
 
 /* Define string names for the various demangling styles. */
@@ -61,6 +67,8 @@ extern enum demangling_styles
 #define GNU_DEMANGLING_STYLE_STRING    "gnu"
 #define LUCID_DEMANGLING_STYLE_STRING  "lucid"
 #define ARM_DEMANGLING_STYLE_STRING    "arm"
 #define GNU_DEMANGLING_STYLE_STRING    "gnu"
 #define LUCID_DEMANGLING_STYLE_STRING  "lucid"
 #define ARM_DEMANGLING_STYLE_STRING    "arm"
+#define HP_DEMANGLING_STYLE_STRING     "hp"
+#define EDG_DEMANGLING_STYLE_STRING    "edg"
 
 /* Some macros to test what demangling style is active. */
 
 
 /* Some macros to test what demangling style is active. */
 
@@ -68,7 +76,9 @@ extern enum demangling_styles
 #define AUTO_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_AUTO)
 #define GNU_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNU)
 #define LUCID_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_LUCID)
 #define AUTO_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_AUTO)
 #define GNU_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNU)
 #define LUCID_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_LUCID)
-#define ARM_DEMANGLING (CURRENT_DEMANGLING_STYLE & DMGL_ARM)
+#define ARM_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_ARM)
+#define HP_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_HP)
+#define EDG_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_EDG)
 
 extern char *
 cplus_demangle PARAMS ((const char *mangled, int options));
 
 extern char *
 cplus_demangle PARAMS ((const char *mangled, int options));