* demangle.h: Change "new_abi" to "v3" everywhere.

This commit is contained in:
DJ Delorie 2000-12-05 16:49:47 +00:00
parent fdb352765e
commit 30e129821d
2 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2000-12-05 Richard Henderson <rth@redhat.com>
* demangle.h: Change "new_abi" to "v3" everywhere.
2000-11-29 Zack Weinberg <zack@wolery.stanford.edu> 2000-11-29 Zack Weinberg <zack@wolery.stanford.edu>
* libiberty.h: Move #includes to top. Prototype xmalloc_failed. * libiberty.h: Move #includes to top. Prototype xmalloc_failed.

View File

@ -37,11 +37,11 @@
same as ARM except for same as ARM except for
template arguments, etc. */ template arguments, etc. */
#define DMGL_EDG (1 << 13) #define DMGL_EDG (1 << 13)
#define DMGL_GNU_NEW_ABI (1 << 14) #define DMGL_GNU_V3 (1 << 14)
#define DMGL_GNAT (1 << 15) #define DMGL_GNAT (1 << 15)
/* 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|DMGL_HP|DMGL_EDG|DMGL_GNU_NEW_ABI|DMGL_JAVA|DMGL_GNAT) #define DMGL_STYLE_MASK (DMGL_AUTO|DMGL_GNU|DMGL_LUCID|DMGL_ARM|DMGL_HP|DMGL_EDG|DMGL_GNU_V3|DMGL_JAVA|DMGL_GNAT)
/* Enumeration of possible demangling styles. /* Enumeration of possible demangling styles.
@ -60,7 +60,7 @@ extern enum demangling_styles
arm_demangling = DMGL_ARM, arm_demangling = DMGL_ARM,
hp_demangling = DMGL_HP, hp_demangling = DMGL_HP,
edg_demangling = DMGL_EDG, edg_demangling = DMGL_EDG,
gnu_new_abi_demangling = DMGL_GNU_NEW_ABI, gnu_v3_demangling = DMGL_GNU_V3,
java_demangling = DMGL_JAVA, java_demangling = DMGL_JAVA,
gnat_demangling = DMGL_GNAT gnat_demangling = DMGL_GNAT
} current_demangling_style; } current_demangling_style;
@ -73,7 +73,7 @@ extern enum demangling_styles
#define ARM_DEMANGLING_STYLE_STRING "arm" #define ARM_DEMANGLING_STYLE_STRING "arm"
#define HP_DEMANGLING_STYLE_STRING "hp" #define HP_DEMANGLING_STYLE_STRING "hp"
#define EDG_DEMANGLING_STYLE_STRING "edg" #define EDG_DEMANGLING_STYLE_STRING "edg"
#define GNU_NEW_ABI_DEMANGLING_STYLE_STRING "gnu-new-abi" #define GNU_V3_DEMANGLING_STYLE_STRING "gnu-v3"
#define JAVA_DEMANGLING_STYLE_STRING "java" #define JAVA_DEMANGLING_STYLE_STRING "java"
#define GNAT_DEMANGLING_STYLE_STRING "gnat" #define GNAT_DEMANGLING_STYLE_STRING "gnat"
@ -86,7 +86,7 @@ extern enum demangling_styles
#define ARM_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_ARM) #define ARM_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_ARM)
#define HP_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_HP) #define HP_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_HP)
#define EDG_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_EDG) #define EDG_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_EDG)
#define GNU_NEW_ABI_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNU_NEW_ABI) #define GNU_V3_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNU_V3)
#define JAVA_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_JAVA) #define JAVA_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_JAVA)
#define GNAT_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNAT) #define GNAT_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNAT)
@ -120,8 +120,8 @@ cplus_demangle_set_style PARAMS ((enum demangling_styles style));
extern enum demangling_styles extern enum demangling_styles
cplus_demangle_name_to_style PARAMS ((const char *name)); cplus_demangle_name_to_style PARAMS ((const char *name));
/* New-ABI demangling entry point, defined in cp-demangle.c. */ /* V3 ABI demangling entry point, defined in cp-demangle.c. */
extern char* extern char*
cplus_demangle_new_abi PARAMS ((const char* mangled)); cplus_demangle_v3 PARAMS ((const char* mangled));
#endif /* DEMANGLE_H */ #endif /* DEMANGLE_H */