]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/ChangeLog
* cp-demangle.c, mkstemps.c: #include <sys/types.h>.
[thirdparty/gcc.git] / libiberty / ChangeLog
index e7bac6d47585fc0bc523e1d43246d94947161fc4..7cb03d720f624eb845279a1bf6650a4de1cf65a4 100644 (file)
@@ -1,3 +1,114 @@
+2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
+
+2000-07-21  Mike Stump  <mrs@wrs.com>
+
+       * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
+       * (vasprintf.o): Add dependency for config.h in vasprintf.c.
+
+2000-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
+
+       * setenv.c (setenv): Initialize variable `ep'.
+
+       * sigsetmask.c (abort): Prototype.
+
+       * vasprintf.c: Include config.h.  Check ANSI_PROTOTYPES, not
+       __STDC__ for stdarg.h include.
+       (int_vasprintf): Prototype.
+       (checkit): Prototype.  Use VPARAMS/ANSI_PROTOTYPES/VA_START in
+       definition.  Cast `global_total_width' in comparison.
+       (main): Prototype.  Return a value.
+
+       * vfork.c (fork): Prototype.
+
+       * xexit.c: Include config.h.
+
+2000-07-20  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
+       and print it with %u.
+
+2000-07-17  Hans-Peter Nilsson  <hp@axis.com>
+
+       * testsuite/regress-demangle (failed test): Show result and
+       expected output.
+
+2000-07-07  Andrew Haley  <aph@cygnus.com>
+
+       * cplus-dem.c (main): fflush() after emitting last char before
+       waiting for input.
+
+2000-06-28  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (demangle_encoding): Accept no substitutions.
+       (demangle_name): Handle <substitution> followed by
+       <unqualified-template-name>.
+       (demangle_type): Follow special substitutions with
+       <class-enum-type>
+       (demangle_subtitution): Set template_p for special substitutions.
+       (main): Fix typos.
+       
+2000-06-27  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (demangle_special_name): Swap base and derived
+       class when demangling construction vtables.
+
+2000-06-21  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c: Don't include ctype.h.
+       (IS_DIGIT): New macro.
+       (IS_ALPHA): Likewise.  Use IS_DIGIT and IS_ALPHA throughout
+       instead of isdigit and isalpanum.
+       (demangling_def): Make name and next const pointers.
+       (STATUS_ALLOCATION_FAILED): New status code.
+       (dyn_string_append_space): Handle failure in
+       dyn_string_append_char.
+       (int_to_dyn_string): Likewise.  Change return value to status_t.
+       (string_list_new): Handle failure of dyn_string_init.
+       (result_close_template_list): Change return type to status_t.
+       Handle failure in dyn_string_append.
+       (result_push): Change return value to status_t.  Handle failure in
+       string_list_new.  Handle failure of result_push throughout.
+       (substitution_add): Change return value to status_t.  Handle
+       dyn_string failures.  Handle failure of substitution_add
+       throughout.
+       (template_arg_list_new): Return NULL on allocation failure.
+       (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
+       Handle error result throughout.
+       (result_append): Likewise.
+       (result_append_char): Likewise.
+       (result_append_space): Likewise.
+       (demangling_new): Make argument a const pointer.  Handle
+       allocation failures.
+       (demangle_template_args): Handle failure in template_arg_list_new
+       and result_close_template_list.
+       (demangle_discriminator): Return if int_to_dyn_string fails.
+       (cp_demangle): Likewise.
+       (cp_demangle_type): New function.
+       (cplus_demangle_new_abi): Don't call dyn_string_delete.  Abort on
+       memory allocation failure.
+       (main): Likewise.
+       * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
+       IN_LIBGCC2.
+       (dyn_string_init): Change return value to int.  Handle
+       RETURN_ON_ALLOCATION_FAILURE case.
+       (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
+       (dyn_string_release): Delete the dyn_string.
+       (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
+       (dyn_string_copy): Change return type to int.
+       (dyn_string_copy_cstr): Likewise.
+       (dyn_string_prepend): Likewise.
+       (dyn_string_prepend_cstr): Likewise.
+       (dyn_string_insert): Likewise.
+       (dyn_string_insert_cstr): Likewise.
+       (dyn_string_append): Likewise.
+       (dyn_string_append_cstr): Likewise.
+       (dyn_string_append_char): Likewise.
+       (dyn_string_substring): Likewise.
+       
 2000-06-09  Zack Weinberg  <zack@wolery.cumb.org>
 
        * cp-demangle.c (demangle_operator_name): Add spaces before