OSDN Git Service

* builtins.c, dbxout.c, varasm.c: Include tm_p.h.
[pf3gnuchains/gcc-fork.git] / libiberty / ChangeLog
index d4a9015..de9309c 100644 (file)
@@ -1,3 +1,477 @@
+Wed Sep  8 20:03:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * xmemdup.c: Include sys/types.h.
+
+1999-09-07  Jeff Garzik  <jgarzik@pobox.com>
+
+       * xmemdup.c: New xmemdup function.
+       * Makefile.in, makefile.vms, vmsbuild.com:  Use xmemdup.[co].
+
+Tue Sep  7 23:32:18 1999  Linas Vepstas  <linas@linas.org>
+
+        * config.table: Add openedition target.
+       * config/mh-openedition: New file.
+
+Thu Sep  2 01:36:12 1999  Marc Espie <espie@cvs.openbsd.org>
+
+       * pexecute.c (pexecute):  Fill in temp_base when needed.
+
+1999-08-31  Richard Henderson  <rth@cygnus.com>
+
+       * getpwd.c: Check HAVE_GETCWD before defining it away.
+
+1999-08-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * Makefile.in (CFILES): Add calloc.c and getpwd.c.
+       (REQUIRED_OFILES): Add getpwd.o.
+       (getpwd.o): Add target.
+
+       * configure.in (AC_PREREQ): Bump to 2.13.
+       (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
+
+       * getpwd.c: New file, moved here from gcc.
+
+1999-08-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
+       comparing against a signed quantity.
+       (arm_special): Likewise.
+       (demangle_fund_type): Likewise.
+       (do_hpacc_template_const_value): Mark parameter `work' with
+       ATTRIBUTE_UNUSED.       
+       (main): Constify variable `valid_symbols'.
+
+Tue Aug 24 02:50:45 1999  Philippe De Muyter  <phdm@macqel.be>
+
+       * strtoul.c (strtoul): Add parentheses around && within ||.
+
+Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
+
+       * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
+       libdir, libsubdir and tooldir.
+
+1999-08-01  Mark Mitchell  <mark@codesourcery.com>
+
+       * splay-tree.c (splay_tree_insert): Return the new node.
+
+1999-07-14  Richard Henderson  <rth@cygnus.com>
+
+       * argv.c: Include stdlib.h and string.h instead of 
+       prototyping directly.
+       * choose-temp.c: Conditionally include string.h.
+
+1999-07-12  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
+
+1999-07-11  Ian Lance Taylor  <ian@zembu.com>
+
+       * splay-tree.c (splay_tree_insert): Add initialization to avoid
+       warning.
+
+1999-07-07  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * Makefile.in (needed-list): Only include stuff we actually need
+       for libstdc++.
+
+1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * configure.in (checkfuncs): Add gettimeofday.
+       * config.in, configure: Regenerated.
+
+Mon Jun 21 05:56:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
+       the test fails.
+       * configure: Regenerate.
+
+1999-06-10  Mike Stump  <mrs@wrs.com>
+
+       * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
+       parallel builds.
+
+1999-05-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * putenv.c: Include ansidecl.h to define `const'.
+       * setenv.c: Likewise.
+
+Wed May 26 03:58:20 1999  "Melissa O'Neill" <oneill@cs.sfu.ca>
+
+       * Makefile.in (CFILES): Add putenv.c and setenv.c.
+       * configure.in (funcs): Add putenv and setenv.
+       (AC_CHECK_FUNCS): Check for putenv and setenv.
+       * configure: Rebuilt.
+       * putenv.c setenv.c: New files.
+
+       * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
+       bytes of space using malloc.
+
+Mon May 17 01:42:34 1999  Stu Grossman  <grossman@babylon-5.cygnus.com>
+
+       * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
+       the *mangled pointer beyond the end of the string.  Clean up code to
+       match prevailing coding style.
+
+1999-05-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * tmpnam.c (L_tmpnam): Fix typo.
+
+Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
+
+       * cplus-dem.c (standard_symbol_characters): Renamed from
+       standard_symbol_alphabet.  No longer modify TABLE.
+       (hp_symbol_characters): Renamed from hp_symbol_alphabet.  No longer
+       modify TABLE.
+       (main): Corresponding changes.  Use strchr to determine if a
+       character is valid.
+
+1999-05-11  Jim Blandy  <jimb@zwingli.cygnus.com>
+
+       * cplus-dem.c (main): Use table lookup to distinguish identifier
+       characters from non-identifier characters.
+       (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
+
+Thu May  6 20:34:42 1999  Fred Fish  <fnf@be.com>
+
+       * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
+       * getruntime.c: Only attempt to include sys/resource.h and
+       use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
+       are defined.
+
+Mon Apr 26 01:36:06 1999  Donn Terry (donn@interix.com)
+
+       * configure.in (alloca detection): Handle alloca directly for interix.
+       * configure: Rebuilt.
+
+Sun Apr 25 01:18:21 1999  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
+
+1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
+
+       Fix from Dale Hawkins:
+       * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be 
+       reallocated properly if we use it again.
+
+       * cplus-dem.c (demangle_fund_type): Check for buffer overrun.  Be
+       stricter about syntax.  Always null-terminate string.
+
+Thu Apr 15 23:00:55 1999  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * configure.in (checkfuncs): Check for sbrk.
+       * config.in: Rebuilt.
+       * configure: Likewise.
+       * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
+
+1999-04-12  Jim Blandy  <jimb@zwingli.cygnus.com>
+
+       Fix from Marcus Daniels:
+       * cplus-dem.c (demangle_fund_type): Don't run off the end of the
+       identifier looking for another underscore.
+
+Sun Apr 11 23:20:59 1999  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * pexecute.c: Change all references to __UWIN__ to _UWIN.
+       * xmalloc.c: Likewise.
+       (xcalloc): UWIN has sbrk.
+       (xrealloc): Fix guard macro.
+
+1999-04-11  Mark Mitchell  <mark@codesourcery.com>
+
+       * cplus-dem.c (demangle_template_value_parm): Handle
+       pointers-to-members.
+       (do_type): Handle template parameters as qualifiers.
+
+1999-04-01  Jim Blandy  <jimb@zwingli.cygnus.com>
+
+       * cplus-dem.c: Attempt to handle overflows in counts with some
+       semblance of grace.
+       (consume_count): Detect overflows.  Return -1 to indicate errors,
+       instead of zero.
+       (demangle_template_value_parm, demangle_template): Handle change
+       to consume_count's return convention.
+
+1999-04-05  Tom Tromey  <tromey@cygnus.com>
+
+       * testsuite/regress-demangle: New file.
+       * testsuite/demangle-expected: New file.
+
+       * Makefile.in (all, check, installcheck, info, install-info,
+       clean-info, dvi, install, etags, tags, mostlyclean, clean,
+       distclean, maintainer-clean, realclean): Depend on corresponding
+       `-subdir' target.
+       (all-subdir check-subdir installcheck-subdir info-subdir
+       install-info-subdir clean-info-subdir dvi-subdir
+       install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
+       distclean-subdir maintainer-clean-subdir): New target.
+       * testsuite/Makefile.in: New file.
+       * configure: Rebuilt.
+       * configure.in: Create testsuite/Makefile.
+
+1999-04-02  Mark Mitchell  <mark@codesourcery.com>
+
+       * splay-tree.h (splay_tree_compare_pointers): Define.
+
+1999-03-30  Mark Mitchell  <mark@codesourcery.com>
+
+       * splay-tree.c (splay_tree_compare_ints): Define.
+
+1999-03-30  Tom Tromey  <tromey@cygnus.com>
+
+       * cplus-dem.c (consume_count): If `count' wraps, return 0 and
+       don't advance input pointer.
+       (demangle_class_name): If consume_count didn't find a count, do
+       nothing.  Don't bother with `strlen' sanity check; consume_count
+       does it for us.
+
+1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
+
+       From Art Haas  <ahaas@neosoft.com>:
+       * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
+       when doing arm or hp style.
+       (demangle_nested_args): Decr forgetting_types field when done.
+       
+Thu Mar 11 01:22:58 1999  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * pexecute.c (__CYGWIN32__): Rename to
+       (__CYGWIN__): this.
+       * xmalloc.c: Likewise.
+
+       Changes to support i386-pc-uwin.
+       * configure.in (*-*-uwin*): Workaround for vfork bug.
+       * configure: Regenerate.
+       * pexecute.c (pexecute): Be like standard Unix.
+       (pwait): Likewise.
+       * xmalloc.c (first_break): Define.
+       (xmalloc_set_program_name): Use.
+       (xmalloc): Use.
+
+Thu Mar 11 01:07:55 1999  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+       * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
+
+Sun Feb 28 22:30:44 1999  Geoffrey Noer  <noer@cygnus.com>
+
+       * config.table: Check cygwin*, not cygwin32*.
+
+Tue Feb  9 16:39:01 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * Makefile.in: Change mkstemp -> mkstemps.
+
+Tue Feb  9 01:12:27 1999  Marc Espie <Marc.Espie@liafa.jussieu.fr>
+
+       * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
+       * configure.in (funcs): Check for and conditionally add mkstemps to
+       the list of functions libiberty will provide.
+       * configure: Rebuilt.
+       
+Wed Feb  3 00:01:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on 
+       platforms that don't have HZ.
+       * getruntime.c (HZ): Likewise.
+
+Sat Jan 30 13:28:04 1999  Richard Henderson  <rth@cygnus.com>
+
+       * Makefile.in (xstrdup.o): Depend on config.h.
+
+Wed Jan 13 07:26:44 1999  H.J. Lu  (hjl@gnu.org)
+
+       * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
+       freeing it.
+
+Wed Jan 13 14:16:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
+
+Tue Jan  5 15:58:29 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * Makefile.in (CFILES): fix typo, splay-tree.c instead of
+       splay-tree.o.
+
+1999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
+
+       * configure.in: Require autoconf 2.12.1 or higher.
+
+1998-12-30  Michael Meissner  <meissner@cygnus.com>
+
+       * random.c (NULL): Don't redefine NULL if it is already defined.
+
+Tue Dec 22 09:43:35 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * argv.c (buildargv): Cast the result of alloca in assignment.
+
+       * choose-temp.c: Include stdlib.h.
+
+       * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
+       (snarf_numeric_literal): Constify first parameter.
+       (code_for_qualifier): Avoid a gcc extension, make the parameter an
+       int, not a char.
+       (demangle_qualifier): Likewise.
+       (demangle_signature): Cast the argument of a ctype function to
+       unsigned char.
+       (arm_pt): Add parens around assignment used as truth value.
+       (demangle_arm_hp_template): Constify variable `args'.
+       (do_hpacc_template_const_value): Cast the argument of a ctype
+       function to unsigned char.
+       (do_hpacc_template_literal): Remove unused variable `i'.
+       (snarf_numeric_literal): Constify parameter `args'.
+       Cast the argument of a ctype function to unsigned char.
+
+       * floatformat.c (floatformat_to_double): Add explicit braces to
+       avoid ambiguous `else'.
+
+       * fnmatch.c (fnmatch): Change type of variables `c', `c1',
+       `cstart' and `cend' to unsigned char.  Cast the argument of macro
+       `FOLD', which uses ctype functions, to unsigned char.
+
+       * objalloc.c (free): Add prototype.
+
+Sun Dec 20 16:03:46 1998  Hans-Peter Nilsson  <hp@axis.se>
+
+       * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
+
+Fri Dec 18 17:50:18 1998  David Taylor  <taylor@texas.cygnus.com>
+
+       * cplus-dem.c (demangle_arm_pt): remove declaration -- function
+       doesn't exist.
+       (do_hpacc_template_literal): remove unused variable `i'.
+       
+Fri Dec 18 16:11:43 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
+
+       * cplus-dem.c (demangle_fund_type): Process CV and u codes before
+       bumping the pointer we read from. Also prepend these codes,
+       as we do in other places.
+
+1998-12-18  Nick Clifton  <nickc@cygnus.com>
+
+       * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
+       'const char *' in order to match its usage when calling siblings.
+       (snarf_numeric_literal): Make first arg 'const char **' in order
+       to match usage.
+
+Mon Dec 14 09:55:50 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * choose-temp.c: Don't check IN_GCC anymore.
+
+       * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
+       * memchr.c (memchr): Likewise.
+       * memcpy.c (memcpy): Likewise.
+       * memmove.c (memmove): Likewise.
+
+       * mkstemp.c: Don't check IN_GCC anymore.
+       * pexecute.c: Likewise.
+       * splay-tree.c: Likewise.
+
+       * strchr.c (strchr): Use `const', not `CONST'.
+       * strrchr.c (strrchr): Likewise.
+       * strtol.c (strtol): Likewise.
+       * strtoul.c (strtoul): Likewise.
+
+Fri Dec  4 13:51:04 1998  David Taylor   <taylor@texas.cygnus.com>
+                         Elena Zannoni  <ezannoni@cygnus.com>
+                         Stan Shebs     <shebs@cygnus.com>
+                         Edith Epstein  <eepstein@cygnus.com>
+                         Andres MacLeod <amacleod@cygnus.com>
+                         Satish Pai     <pai@apollo.hp.com>
+
+       * HP aCC demangling support.
+       * cplus-dem.c
+       (main): Remove default to HP style demangling, set to EDG
+       demangling correctly when -edg specified; set the demangling style
+       when user specifies 'edg'. Set strip_underscore to
+       prepends_underscore, if not HPUXHPPA.  Set
+       current_demangling_style to hp_demangling if HPUXHPPA.  Set
+       current demangling style correctly if the switch is hp.  Read
+       label correctly also in the HP style case.
+       (work_stuff): add temp_start field; add field for volatile member
+       function.
+       (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
+       style for this case is the same as ARM.
+       (demangle_args): handle EDG_DEMANGLING style; support HP style.
+       (demangle_arm_hp_template): new function. (It was
+       demangle_arm_pt.); check and set value of temp_start field in
+       multiple places. Also, when ceching for end of template args,
+       check to see if at end of static member of template class.
+       (demangle_class): new local variable : save_class_name_end Don't
+       include template args in string defining class.
+       (demangle_class_name): use demangel_arm_hp_template.
+       (demangle_function_name): handle case where demangling style is
+       HP_DEMANGLING and currently point at an 'X' in the mangled name.
+       Handle EDG_DEMANGLING style.  Handle constructor and destructor
+       ops for HP style.
+       (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
+       styles.  global destructor and constructor for HP style are same
+       as for ARM style. Same for local variables.
+       (demangle_qualified): handle EDG_DEMANGLING style.
+       (demangle_signature): add case for volatile member function.  For
+       cases '1' - '9' : initialize the temp_start field to -1 and handle
+       the EDG_DEMANGLING style.  for case 'F' : handle EDG_DEMANGLING
+       and AUTO_DEMANGLING styles.  If expecting a function and managed
+       to demangle the funct args, then handle the LUCID_DEMANGLING,
+       ARM_DEMANGLING, and EDG_DEMANGLING styles.  Add case for local
+       class name after "Lnnn_ in HP style case. HP style too needs to
+       forget types.  _nnn is OK for HP style, so don't report failure.
+       (do_hpacc_template_const_value): new function. Handle template's
+       value param for HP/aCC.
+       (do_hpacc_template_literal): new function.  Handle a template's
+       literal parameter for HP aCC.
+       (recursively_demangle): new function
+       (snarf_numeric_literal): new function.
+       (usage): add 'edg' to the list of demangling styles; add hp switch
+       to message.
+
+Sat Nov 28 17:25:22 1998  Christopher Faylor <cgf@cygnus.com>
+
+       * pexecute.c: Remove obsolete ifdefed cygwin code.
+
+Fri Nov 27 13:26:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * choose-temp.c: Always include libiberty.h.  Avoid redundancies.
+       * cplus-dem.c: Likewise.  Conform to libiberty.h.
+       * pexecute.c: Likewise.
+       * splay-tree.c: Likewise.
+
+1998-11-25  Mike Stump  <mrs@wrs.com>
+
+       * Makefile.in (splay-tree.o): Add config.h dependency.
+
+Mon Nov 23 16:59:49 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       *  configure.in: Use AC_PREREQ(2.12.1).
+
+1998-11-16  Benjamin Kosnik  <bkoz@haight.constant.com>
+
+        * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
+
+Thu Nov 19 22:15:50 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * mpw.c (mpw_access): Add missing parens.
+
+Thu Nov 19 12:59:21 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * configure.in: Call AC_HEADER_SYS_WAIT.
+
+       * pexecute.c: Include sys/wait.h when !IN_GCC.
+
+Thu Nov 19 14:38:20 1998  Geoffrey Noer  <noer@cygnus.com>
+
+       * pexecute.c: revert back to checking old Cygwin
+       preprocessor symbol until some time has passed.
+
+Wed Nov 18 08:52:26 1998  Christopher Faylor <cgf@cygnus.com>
+
+       * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
+       since it will now support similar constructs.
+
+Fri Nov 13 19:18:05 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * configure.in: Check for calloc.
+
+       * calloc.c: New file.
+
+       * xmalloc.c (xcalloc): New function.
+
 Fri Nov 13 08:51:46 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
 
        *cplus-dem.c (demangle_prefix): Use the last "__"
@@ -19,6 +493,11 @@ Sat Nov  7 16:02:10 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
        * mkstemp.c: Likewise.
        * pexecute.c: Likewise.
 
+Mon Nov  2 15:05:33 1998  Geoffrey Noer  <noer@cygnus.com>
+
+        * configure.in: detect cygwin* instead of cygwin32*
+        * configure: regenerate
+
 Mon Nov  2 10:22:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
@@ -39,7 +518,7 @@ Mon Nov  2 10:22:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * cplus-dem.c (gnu_special): Fix handling of virtual tables in
        anonymous namespaces.
-       
+
 1998-10-23  Mark Mitchell  <mark@markmitchell.com>
 
        * cplus-dem.c (work_stuff): Replace const_type and volatile_type
@@ -115,6 +594,10 @@ Tue Oct 13 23:51:51 1998  Jeffrey A Law  (law@cygnus.com)
        * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
        * config.in, configure: Rebuilt.
 
+Mon Oct 12 19:15:59 1998  Geoffrey Noer  <noer@cygnus.com>
+
+        * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
+
 Sun Oct 11 17:36:06 1998  Michael Tiemann  <tiemann@holodeck.cygnus.com>
 
        * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
@@ -247,13 +730,13 @@ Sat Jul 11 16:19:48 1998  Mark Mitchell  <mark@markmitchell.com>
        on NULL tmpl_argvec.  Be consistent with use of tname/trawname.
        (demangle_nested_args): New function.
        (internal_cplus_demangle): Handle volatile-qualified member
-       functions. 
+       functions.
        (mop_up): Delete the previous_argument string if present.
        (demangle_signature): Tidy.  Handle volatile-qualified member
        functions.  Handle back-references using the `B' code.  Use extra
        parameter to demangle_template and SCOPE_STRING where appropriate.
        (demangle_template_value_parm): Fix thinko; 'B' is not an integral
-       code. 
+       code.
        (demangle_class): Use SCOPE_STRING.
        (gnu_special): Pass additional argument to demangle_template.
        Use SCOPE_STRING.
@@ -267,7 +750,7 @@ Sat Jul 11 16:19:48 1998  Mark Mitchell  <mark@markmitchell.com>
        (do_arg): Improve commment.  Handle 'n' repeat code.
        (remember_type): Check forgetting_types.
        (demangle_args): Deal with 'n' repeat codes.  Tidy.
-       
+
 Thu Jul  2 16:26:24 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
@@ -311,7 +794,7 @@ Fri May 22 01:38:07 1998  Hans-Peter Nilsson  <hp@axis.se>
 1998-05-21  Mark Mitchell  <mmitchell@usa.net>
 
        * cplus-dem.c (do_type): Handle volatile qualification.
-       
+
 1998-05-21  Manfred Hollstein  <manfred@s-direktnet.de>
 
        * configure.in: Check for unistd.h as well.
@@ -503,13 +986,13 @@ Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod  <amacleod@cygnus.com>
 
        * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
        (cplus_demangle_opname): Call mop_up_squangle.
-       (cplus_demangle): Initialize squangle info, then call 
+       (cplus_demangle): Initialize squangle info, then call
        internal_cplus_demangle. (Most code moved there as well)
-       (internal_cplus_demangle): New function, performs most of what use 
+       (internal_cplus_demangle): New function, performs most of what use
        to be done in cplus_demangle, but is only called with this file.
        (squangle_mop_up): New function to clean up B and K code data.
        (mop_up): set pointers to NULL after freeing.
-       (demangle_signature, demangle_template, demangle_class): Add 
+       (demangle_signature, demangle_template, demangle_class): Add
        switch elements to handle K and B codes.
        (demangle_prefix, gnu_special, demangle_qualified): Add
        code to handle K and B codes.
@@ -694,6 +1177,12 @@ Tue Aug 19 17:10:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
 
        * cplus-dem.c: Add 'extern' to prepends_underscore.
 
+Wed Jul 30 11:42:19 1997  Per Bothner  <bothner@cygnus.com>
+
+       * cplus-dem.c: Various changes to produce Java output when passed
+       DMGL_JAVA.  Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
+       (main): Support --java and -j flags to set DMGL_JAVA.
+
 Tue Jul 22 19:05:23 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
 
        * config/mh-go32 (CC, AR, RANLIB): Don't define.
@@ -748,7 +1237,7 @@ Wed Apr 30 12:15:45 1997  Jason Merrill  <jason@yorick.cygnus.com>
 
 Mon Apr 28 19:04:31 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>
 
-       * obstack.c: move _obstack_memory_used outside of ifdef.  Cannot be 
+       * obstack.c: move _obstack_memory_used outside of ifdef.  Cannot be
        elided; needed by gdb and not present in libc.
 
 Thu Apr 24 19:33:47 1997  Ian Lance Taylor  <ian@cygnus.com>
@@ -757,7 +1246,7 @@ Thu Apr 24 19:33:47 1997  Ian Lance Taylor  <ian@cygnus.com>
 
 Tue Apr 22 10:25:15 1997  Fred Fish  <fnf@cygnus.com>
 
-       * floatformat.c (floatformat_ieee_double_littlebyte_bigword): 
+       * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
        Add new floatformat, mainly for ARM doubles.
 
 Mon Apr 14 12:11:16 1997  Ian Lance Taylor  <ian@cygnus.com>
@@ -814,7 +1303,7 @@ Sat Mar 15 18:49:41 1997  Ian Lance Taylor  <ian@cygnus.com>
 
 Fri Mar 14 14:18:47 1997  Ian Lance Taylor  <ian@cygnus.com>
 
-       * cplus-dem.c: Add prototypes for all static functions. 
+       * cplus-dem.c: Add prototypes for all static functions.
        (mystrstr): Make static.  Make arguments and result const.
        (cplus_match): Remove; not used.
 
@@ -885,13 +1374,13 @@ Mon Nov 18 14:08:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
 
 Wed Nov 13 08:22:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
 
-       * cplus-dem.c: Revert last two commits due to conflicts with 
-       hpux system headers.        
+       * cplus-dem.c: Revert last two commits due to conflicts with
+       hpux system headers.
 
 Wed Nov 13 08:22:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
 
        * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
-       Revert last commit due to conflicts with hpux system headers.        
+       Revert last commit due to conflicts with hpux system headers.
 
 Wed Nov 13 10:36:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
 
@@ -900,16 +1389,16 @@ Wed Nov 13 10:36:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
 
 Tue Nov 12 16:31:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
 
-       * alloca.c: Include libiberty.h for definition of xmalloc.  
+       * alloca.c: Include libiberty.h for definition of xmalloc.
        Don't redefine NULL.
        * argv.c: Move prototypes to libiberty.h.
-       * cplus-dem.c: Include libiberty.h for definition of xmalloc.  
+       * cplus-dem.c: Include libiberty.h for definition of xmalloc.
        Don't redefine NULL.
        Use casts to eliminate compiler warnings.
-       * spaces.c: Remove prototypes for malloc and free which are 
+       * spaces.c: Remove prototypes for malloc and free which are
        already in libibrty.h.
        * strcasecmp.c: Use casts to eliminate compiler warnings.
-       * vasprintf.c: Include libiberty.h for definition of malloc.  
+       * vasprintf.c: Include libiberty.h for definition of malloc.
        Don't redefine NULL.
        * vprintf.c: Include stdarg.h if __STDC__.
 
@@ -1120,7 +1609,7 @@ Tue Feb 27 12:00:50 1996  Raymond Jou  <rjou@mexican.cygnus.com>
 
        * mpw.c (mpwify_filename): Change 6 to 5 in
        strncmp (unixname, "/tmp/", 5).
-       
+
 Tue Feb 20 10:55:53 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * cplus-dem.c (demangle_template): Initialize is_bool.  Correctly
@@ -1620,9 +2109,9 @@ Wed Aug  3 05:52:14 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
        newlib; includes and such don't belong to us).  This is specific
        to the Cygnus Support environment.
 
-Tue Aug  2 15:25:12 1994  Kung Hsu  (kung@mexican.cygnus.com)        
+Tue Aug  2 15:25:12 1994  Kung Hsu  (kung@mexican.cygnus.com)
 
-       * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not 
+       * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
        xxx<ch=81>.
 
 Mon Aug  1 17:02:48 1994  Kung Hsu  (kung@mexican.cygnus.com)
@@ -1702,7 +2191,7 @@ Fri May 13 16:20:28 1994  Jason Merrill  (jason@deneb.cygnus.com)
 
 Fri May  6 14:44:21 1994  Steve Chamberlain  (sac@cygnus.com)
 
-       * config.table: Add go32  
+       * config.table: Add go32
        * config/mh-go32: New template.
 
 Fri May  6 11:01:59 1994  D. V. Henkel-Wallace  (gumby@rtl.cygnus.com)
@@ -1781,8 +2270,8 @@ Sun Feb 27 21:50:11 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
 Thu Feb 24 11:51:12 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
 
        * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
-        (_getopt_initialize): New function, broken out of _getopt_internal. 
-        (_getopt_internal): 
+        (_getopt_initialize): New function, broken out of _getopt_internal.
+        (_getopt_internal):
         If long_only and the ARGV-element has the form "-f", where f is
         a valid short option, don't consider it an abbreviated form of
         a long option that starts with f.  Otherwise there would be no
@@ -2114,7 +2603,7 @@ Fri Aug  6 17:03:13 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
 
        * obstack.c, alloca.c: Update from FSF.
        * getopt.c, getopt1.c: Update to current FSF version, which
-       doesn't use alloca. 
+       doesn't use alloca.
 
 Tue Jul 27 14:03:57 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
 
@@ -2757,7 +3246,7 @@ Wed Dec 11 17:40:39 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
        * msdos.c: stub functions for dos.
        * makefile.dos, configdj.bat: new.
        * getopt.c: Don't include alloca-conf.h in a GO32 world.
-       
+
 
 Tue Dec 10 04:14:49 1991  K. Richard Pixley  (rich at rtl.cygnus.com)