aboutsummaryrefslogtreecommitdiff
path: root/include/demangle.h
AgeCommit message (Collapse)AuthorFilesLines
2003-07-06demangle.h: Support C++.H.J. Lu1-0/+8
2003-07-06 H.J. Lu <hongjiu.lu@intel.com> * demangle.h: Support C++. From-SVN: r69016
2002-06-25demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>.Alan Modra1-2/+2
* demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>. * fibheap.h: Likewise. * hashtab.h: Likewise. * partition.h: Likewise. * sort.h: Likewise. * splay-tree.h: Likewise. From-SVN: r54974
2002-02-05demangle.h (cplus_demangle_v3): Add "options" parm.Jason Merrill1-6/+3
* demangle.h (cplus_demangle_v3): Add "options" parm. (cplus_demangle_v3_type): Remove prototype. (DMGL_VERBOSE): New macro. (DMGL_TYPES): New macro. * cplus-dem.c (flags): Add DMGL_VERBOSE (cplus_demangle_v3_p): Remove. (demangle_it): Add DMGL_TYPES to passed flags. * cp-demangle.c (cplus_demangle_v3_all): Remove. (cplus_demangle_v3_type): Remove. (cplus_demangle_v3): Add options parm. * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle. From-SVN: r49525
2002-02-02demangle.h (cplus_demangle_v3_type): New prototype.H.J. Lu1-0/+5
2002-02-02 H.J. Lu (hjl@gnu.org) * demangle.h (cplus_demangle_v3_type): New prototype. From-SVN: r49455
2001-12-06demangle.h (no_demangling): New.Richard Henderson1-0/+2
* demangle.h (no_demangling): New. (NO_DEMANGLING_STYLE_STRING): New. * cplus-dem.c (libiberty_demanglers): Add no_demangling case. (cplus_demangle): Support no_demangling. From-SVN: r47733
2001-10-07demangle.h (demangler_engine): Const-ify.Kaveh R. Ghazi1-5/+5
include: * demangle.h (demangler_engine): Const-ify. * libiberty.h (buildargv): Likewise. libiberty: * argv.c (buildargv, tests, main): Const-ify. * cp-demangle.c (operator_code): Likewise. * cplus-dem.c (optable, libiberty_demanglers, cplus_demangle_set_style, cplus_demangle_name_to_style, print_demangler_list): Likewise. * hashtab.c (higher_prime_number): Likewise. * strcasecmp.c (charmap): Likewise. * strerror.c (error_info, strerror, main): Likewise. * strncasecmp.c (charmap): Likewise. * strsignal.c (signal_info): Likewise. From-SVN: r46060
2001-05-08cp-demangle.c (demangle_v3_with_details, [...]): Use K+R style function ↵Zack Weinberg1-2/+4
definition. * cp-demangle.c (demangle_v3_with_details, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style function definition. * ternary.c: Use K+R style function definitions. Use PTR, not void *. Make arguments constant where possible. * demangle.h: Use PARAMS for all prototypes. * ternary.h: Use PARAMS for all prototypes. Use PTR, not void *. Make arguments constant where possible. From-SVN: r41910
2001-03-21demangle.h (enum gnu_v3_constructor_kinds, [...]): New declarations.Jim Blandy1-0/+26
* demangle.h (enum gnu_v3_constructor_kinds, is_gnu_v3_mangled_ctor, enum gnu_v3_destructor_kinds, is_gnu_v3_mangled_dtor): New declarations. From-SVN: r40709
2001-03-14Fix copyright datesNick Clifton1-1/+2
From-SVN: r40469
2001-02-02Add support for Java demangling under the v3 ABI:Bryce McKinlay1-1/+4
* cp-demangle.c (NAMESPACE_SEPARATOR): New define. (struct demangling_def): Add `style' field. (demangling_new): New parameter `style'. Set it in demangling_t. (demangle_prefix): Use NAMESPACE_SEPARATOR. (demangle_type_ptr): Don't emit pointer symbol if doing Java output. (cp_demangle): New parameter `style'. Pass it to demangling_new(). (main): Call cp_demangle with extra parameter. (java_demangle_v3): New function. (java_builtin_type_names): New. Table of primitive type names used for Java demangling. (demangle_builtin_type): Look up in java_builtin_type_names if doing Java output. * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java demangling. (long_options): Remove obsolete `java' option. (main): Remove explicit handling of `java' option. Instead, pass style parameter in cplus_demangle flags as gdb does. * testsuite/demangle.expected: Add some Java test cases. From-SVN: r39399
2000-12-05also tweak commentJason Merrill1-1/+1
From-SVN: r38034
2000-12-04* demangle.h: Change "new_abi" to "v3" everywhere.Richard Henderson1-6/+6
From-SVN: r38020
2000-11-15* demangle.h: Add gnat and java demangle styles.Kenneth Block1-2/+9
From-SVN: r37474
2000-06-07configure.in (ac_libiberty_warn_cflags): Add -pedantic.Kaveh R. Ghazi1-1/+1
libiberty: * configure.in (ac_libiberty_warn_cflags): Add -pedantic. * choose-temp.c (try, choose_temp_base, make_temp_file): Constify. * cp-demangle.c (demangle_char): Change parameter from char to int. (demangle_expression, demangle_expr_primary): Remove extra semi-colon in prototype. * dyn-string.c (dyn_string_append_char): Change parameter from char to int. * memcmp.c (memcmp): Constify. * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with __extension__. * partition.c (elem_compare): Prototype. Don't cast away const-ness. * setenv.c (setenv): Use braces to avoid ambiguous `else'. include: * demangle.h (demangling_styles): Remove trailing comma in enum. * dyn-string.h (dyn_string_append_char): Change parameter from char to int. From-SVN: r34447
2000-06-05In include,Alex Samuel1-20/+30
* dyn-string.h: Move here from gcc/dyn-string.h. Add new functions. * demangle.h (DMGL_GNU_NEW_ABI): New macro. (DMGL_STYLE_MASK): Or in DMGL_GNU_NEW_ABI. (current_demangling_style): Add gnu_new_abi_demangling. (GNU_NEW_ABI_DEMANGLING_STYLE_STRING): New macro. (GNU_NEW_ABI_DEMANGLING): Likewise. (cplus_demangle_new_abi): New declaration. In libiberty, * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c. (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o. (cp-demangle.o): New dependency. (dyn-string.o): Likewise. * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions. * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI demangler. (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI demangling mode. (gnu_new_abi_symbol_characters): New function. (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New file. * cp-demangle.c: New file. From-SVN: r34397
2000-05-04demangle.h (demangler_engine): Constify.Kaveh R. Ghazi1-2/+2
include: * demangle.h (demangler_engine): Constify. libiberty: * cplus-dem.c (cplus_demangle_opname, demangle_function_name): Cast the arguments to `islower' to `unsigned char'. (print_demangler_list): Prototype. From-SVN: r33679
2000-04-28* libiberty/cplus-dem.cKenneth Block1-0/+15
(libiberty_demanglers): new table for demangle styles (cplus_demangle_set_style): New function for setting style (cplus_demangle_name_to_style): New function to translate name * include/demangle.h (libiberty_demanglers): new table for different styles (cplus_demangle_set_style): New function for setting style (cplus_demangle_name_to_style): New function to translate name Co-Authored-By: Jason Merrill <jason@casey.cygnus.com> From-SVN: r33525
1998-12-14demangle.h: Don't check IN_GCC anymore.Kaveh R. Ghazi1-2/+0
* demangle.h: Don't check IN_GCC anymore. * splay-tree.h: Likewise. From-SVN: r24306
1998-12-07demangle.h: (DMGL_EDG): new macro for Kuck and AssociatesElena Zannoni1-3/+13
* 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. From-SVN: r24173
1998-11-08ansidecl.h: Wrap problematic macros with !IN_GCC.Kaveh R. Ghazi1-4/+2
* ansidecl.h: Wrap problematic macros with !IN_GCC. * demangle.h: Never define PARAMS(). * splay-tree.h: Likewise. From-SVN: r23574
1998-11-07demangle.h: Don't include gansidecl.h.Kaveh R. Ghazi1-1/+0
* demangle.h: Don't include gansidecl.h. * splay-tree.h: Likewise. From-SVN: r23561
1997-08-21Initial revisionJason Merrill1-0/+90
From-SVN: r14877