Delete temporary string within demangler even in failure cases.
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
index cda181e1066d36d82bf778a1b820b77cd37c0323..ddd96cce82a267204910e94224966e9fa4626118 100644 (file)
@@ -1,3 +1,144 @@
+2014-06-11  Andrew Burgess  <aburgess@broadcom.com>
+
+       * cplus-dem.c (do_type): Call string_delete even if the call to
+       demangle_template fails.
+
+2014-06-01  Ray Donnelly  <mingw.android@gmail.com>
+
+       * pex-win32.c (argv_to_cmdline): Don't quote
+       args unnecessarily
+
+2014-05-28  Pedro Alves  <palves@redhat.com>
+
+       * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM
+       and DEMANGLE_COMPONENT_NUMBER.
+
+2014-05-22  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * testsuite/demangle-expected: Fix last commit.
+
+2014-05-14  Andrew Burgess  <aburgess@broadcom.com>
+
+       * cplus-dmem.c (internal_cplus_demangle): Free any resources
+       allocated by possible previous call to gnu_special.
+       (squangle_mop_up): Reset pointers to NULL after calling free.
+       * testsuite/demangle-expected: New test case.
+
+2014-05-08  Gary Benson  <gbenson@redhat.com>
+
+       * cp-demangle.c (struct d_component_stack): New structure.
+       (struct d_print_info): New field component_stack.
+       (d_print_init): Initialize the above.
+       (d_print_comp_inner): Renamed from d_print_comp.
+       Do not restore template stack if it would cause a loop.
+       (d_print_comp): New function.
+       * testsuite/demangle-expected: New test cases.
+
+2014-04-17  Jakub Jelinek  <jakub@redhat.com>
+
+       PR sanitizer/56781
+       * maint-tool: Also emit rule for noasan/ subdirectory.
+       * configure.ac (NOASANFLAG): Set and substitute.
+       * Makefile.in: Regenerated.
+       (NOASANFLAG): Set.
+       (all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic
+       subdir.
+       (stamp-noasandir): New goal.
+       * configure: Regenerated.
+
+2014-04-01  Richard Biener  <rguenther@suse.de>
+
+       * simple-object.c (simple_object_internal_write): Handle
+       EINTR and short writes.
+
+2014-03-28  Richard Biener  <rguenther@suse.de>
+
+       * simple-object.c (simple_object_internal_read): Handle
+       EINTR and short reads.
+
+2014-03-13  Uros Bizjak  <ubizjak@gmail.com>
+
+       * regex.c (bzero) [!_LIBC]: Define without coma expression.
+       (regerror): Cast the call to memcpy to (void) to avoid unused
+       value warnings.
+
+2014-01-28  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * cp-demangle.c (d_demangle_callback): Put an abort call in place,
+       to help the compiler.
+
+2014-01-21  Tom Tromey  <tromey@redhat.com>
+
+       * _doprint.c (checkit): Use stdarg, not VA_* macros.
+       * asprintf.c (asprintf): Use stdarg, not VA_* macros.
+       * concat.c (concat_length, concat_copy, concat_copy2, concat)
+       (reconcat): Use stdarg, not VA_* macros.
+       * snprintf.c (snprintf): Use stdarg, not VA_* macros.
+       * vasprintf.c (checkit): Use stdarg, not VA_* macros.
+       * vsnprintf.c (checkit): Use stdarg, not VA_* macros.
+
+2014-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       PR other/56780
+       * configure.ac: Delete target_header_dir assignment.
+       * configure: Regenerated.
+
+2014-01-06  Gary Benson  <gbenson@redhat.com>
+
+       * cp-demangle.c (struct d_print_info): New fields
+       next_saved_scope, copy_templates, next_copy_template and
+       num_copy_templates.
+       (d_count_templates): New function.
+       (d_print_init): New parameter "dc".
+       Estimate numbers of templates and scopes required.
+       (d_print_free): Removed function.
+       (cplus_demangle_print_callback): Allocate stack for
+       templates and scopes.  Removed call to d_print_free.
+       (d_copy_templates): Removed function.
+       (d_save_scope): New function.
+       (d_get_saved_scope): Likewise.
+       (d_print_comp): Replace state saving/restoring code with
+       calls to d_save_scope and d_get_saved_scope.
+
+2013-12-23  Bill Maddox  <maddox@google.com>
+
+       * cp-demangle.c (cplus_demangle_fill_ctor,cplus_demangle_fill_dtor):
+       Handle unified ctor/dtor.
+       (d_ctor_dtor_name): Handle unified ctor/dtor.
+
+2013-11-22  Cary Coutant  <ccoutant@google.com>
+    
+       PR other/59195
+       * cp-demangle.c (struct d_info_checkpoint): New struct.
+       (struct d_print_info): Add current_template field.
+       (d_operator_name): Set flag when processing a conversion
+       operator.
+       (cplus_demangle_type): When processing <template-args> for
+       a conversion operator, backtrack if necessary.
+       (d_expression_1): Renamed from d_expression.
+       (d_expression): New wrapper around d_expression_1.
+       (d_checkpoint): New function.
+       (d_backtrack): New function.
+       (d_print_init): Initialize current_template.
+       (d_print_comp): Set current_template.
+       (d_print_cast): Put current_template in scope for
+       printing conversion operator name.
+       (cplus_demangle_init_info): Initialize is_expression and
+       is_conversion.
+       * cp-demangle.h (struct d_info): Add is_expression and
+       is_conversion fields.
+       * testsuite/demangle-expected: New test cases.
+
+2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * configure: Regenerate.
+
+2013-11-12  Uros Bizjak  <ubizjak@gmail.com>
+
+       * cp-demangle.c (d_copy_templates): Cast result of malloc
+       to (struct d_print_template *).
+       (d_print_comp): Cast result of realloc to (struct d_saved scope *).
+
 2013-10-29  Marc Glisse  <marc.glisse@inria.fr>
 
        PR tree-optimization/58689
@@ -6,7 +147,7 @@
 2013-10-27  Gerald Pfeifer  <gerald@pfeifer.com>
 
        * testsuite/test-demangle.c: Include unistd.h.
-       
+
 2013-10-25  Gary Benson  <gbenson@redhat.com>
 
        * cp-demangle.c (struct d_saved_scope): New structure.
        (d_copy_templates): New function.
        (d_print_comp): New variables saved_templates and
        need_template_restore.
-       [DEMANGLE_COMPONENT_REFERENCE,
-       DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
-       time the component is traversed, and use the captured scope for
-       subsequent traversals.
+       [DEMANGLE_COMPONENT_REFERENCE, DEMANGLE_COMPONENT_RVALUE_REFERENCE]:
+       Capture scope the first time the component is traversed, and use the
+       captured scope for subsequent traversals.
        * testsuite/demangle-expected: Add regression test.
 
 2013-10-23  Gerald Pfeifer  <gerald@pfeifer.com>
This page took 0.025772 seconds and 4 git commands to generate.