Commit graph

32 commits

Author SHA1 Message Date
DJ Delorie
1e3f0be004 merge from gcc 2002-07-29 18:01:19 +00:00
DJ Delorie
59ea9fe7b6 merge from gcc 2002-02-19 21:01:40 +00:00
DJ Delorie
6f84855018 merge from gcc 2002-02-18 23:01:39 +00:00
DJ Delorie
44354ae183 merge from gcc 2002-02-05 17:53:17 +00:00
DJ Delorie
42da15d6b3 merge from gcc 2002-02-03 13:12:45 +00:00
DJ Delorie
c23795e245 merge from gcc 2002-01-03 00:25:57 +00:00
DJ Delorie
20d54542b9 merge from gcc 2002-01-02 18:01:38 +00:00
DJ Delorie
ae53364610 merge from gcc 2001-12-13 00:05:32 +00:00
Richard Henderson
2da4c07f1c * demangle.h (no_demangling): New.
(NO_DEMANGLING_STYLE_STRING): New.

        * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
        (cplus_demangle): Support no_demangling.
2001-12-06 21:57:28 +00:00
DJ Delorie
5d852400e9 merge from gcc 2001-10-17 22:35:28 +00:00
DJ Delorie
e6450fe561 merge from gcc 2001-10-07 17:24:36 +00:00
DJ Delorie
a9cbbe6d3e merge from gcc 2001-03-20 17:09:17 +00:00
DJ Delorie
5810f3948f merge from gcc 2001-03-05 19:42:04 +00:00
DJ Delorie
a9db032a7a merge from gcc 2001-02-17 00:11:29 +00:00
DJ Delorie
bc9bf2596e merge from gcc 2001-02-02 18:58:51 +00:00
DJ Delorie
ac424eb32c * safe-ctype.c: New file.
* Makefile.in (CFILES): Add safe-ctype.c.
(REQUIRED_OFILES): Add safe-ctype.o.

* argv.c: Define ISBLANK and use it, not isspace.
* basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
before calling TOLOWER(c)/TOUPPER(c).
2000-12-08 16:37:01 +00:00
DJ Delorie
e49a569c10 * cp-demangle.c: s/new_abi/v3/.
* cplus-dem.c: Likewise.
(current_demangling_style): Now auto_demangling.
(cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
(main): Use standard symbol chars for auto_demangling.
2000-12-05 16:51:29 +00:00
Hans-Peter Nilsson
9c26dc82b6 * cplus-dem.c (main): Handle gnat_demangling. 2000-11-23 00:08:38 +00:00
Hans-Peter Nilsson
f17755262c * cplus-dem.c (cplus_demangle): Fix formatting.
(grow_vect): Ditto.
	(ada_demangle): Ditto.
	(internal_cplus_demangle): Ditto.
	(mop_up): Ditto.

	* cplus-dem.c (main): Handle java_demangling.

	* cplus-dem.c (grow_vect): Prototype.
	(ada_demangle): Cast the arg of ctype macros to unsigned char.
2000-11-21 10:54:08 +00:00
Hans-Peter Nilsson
5dd42ef455 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
parameter `option'.
Do s/cplus_dem.c/cplus-dem.c/g on ChangeLog.
2000-11-16 09:07:59 +00:00
DJ Delorie
296731c177 [merge]
* cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot
be used in GCC.
2000-11-15 19:10:20 +00:00
Hans-Peter Nilsson
16e857458e * cplus_dem.c: Add gnat demangler. Add java to demangle style
list.
2000-11-15 11:50:21 +00:00
DJ Delorie
74bcd5294f merge from gcc repository 2000-10-12 02:16:48 +00:00
Hans-Peter Nilsson
d3e8500506 * testsuite/demangle-expected: Add two tests for anonymous
namespaces.
	* cplus-dem.c (gnu_special): Handle anonymous namespaces.
2000-09-13 22:59:40 +00:00
Hans-Peter Nilsson
1dc349e58c * testsuite/demangle-expected: Add four tests for type_info
mangling.

	* cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
	for a non-template non-qualified type_info function or node.
2000-09-10 19:43:30 +00:00
Daniel Berlin
e8865c2811 Demangling fixes 2000-07-24 19:14:18 +00:00
Jeff Law
9adf30b218 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
and print it with %u.
2000-07-20 20:22:28 +00:00
Andrew Haley
0473bdf750 2000-07-07 Andrew Haley <aph@cygnus.com>
* cplus-dem.c (main): fflush() after emitting last char before
	waiting for input.
2000-07-07 13:52:53 +00:00
H.J. Lu
eb383413c2 Synced with libiberty in the gcc repository. 2000-06-15 20:56:25 +00:00
Ian Lance Taylor
0c0a36a403 merge with libiberty from egcs 2000-02-22 2000-02-22 16:14:35 +00:00
Jim Blandy
7d0e3be3b1 * cplus-dem.c (main): Use table lookup to distinguish identifier
characters from non-identifier characters.
(standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1999-05-11 12:42:12 +00:00
Richard Henderson
252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00