+2016-01-27 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_call_convention): Handle extern Objective-C
+ function calling convention.
+ (dlang_call_convention_p): Likewise.
+ (dlang_type): Likewise.
+ * testsuite/d-demangle-expected: Add coverage tests.
+
+2016-01-27 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_function_args): Append ',' for variadic functions
+ only if parameters were seen before the elipsis symbol.
+ * testsuite/d-demangle-expected: Add coverage test for parameter-less
+ variadic functions.
+
+2016-01-27 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_type): Handle function types only in the context
+ of seeing a pointer type symbol.
+ * testsuite/d-demangle-expected: Update function pointer tests.
+
+2016-01-05 Mike Frysinger <vapier@gentoo.org>
+
+ * argv.c (dupargv): Change arg to char * const *. Update comment.
+ (writeargv, countargv): Likewise.
+ * functions.texi (dupargv, writeargv, countargv): Likewise.
+
+2016-01-05 Mike Frysinger <vapier@gentoo.org>
+
+ * argv.c (dupargv): Replace strlen/xmalloc/strcpy with xstrdup.
+
+2015-12-28 Patrick Palka <ppalka@gcc.gnu.org>
+
+ * crc32.c: In the documentation, don't refer to GDB's
+ now-nonexistent crc32 implementation. In the table-generation
+ program embedded within the documentation, change the type of
+ the induction variables i and j from int to unsigned int, to
+ avoid undefined behavior.
+
+2015-12-21 Nick Clifton <nickc@redhat.com>
+
+ PR 66827
+ * regex.c (EXTRACT_NUMBER): Cast sign byte to unsigned before left
+ shifting.
+
+2015-11-27 Pedro Alves <palves@redhat.com>
+
+ PR other/61321
+ PR other/61233
+ * demangle.h (enum demangle_component_type)
+ <DEMANGLE_COMPONENT_CONVERSION>: New value.
+ * cp-demangle.c (d_demangle_callback, d_make_comp): Handle
+ DEMANGLE_COMPONENT_CONVERSION.
+ (is_ctor_dtor_or_conversion): Handle DEMANGLE_COMPONENT_CONVERSION
+ instead of DEMANGLE_COMPONENT_CAST.
+ (d_operator_name): Return a DEMANGLE_COMPONENT_CONVERSION
+ component if handling a conversion.
+ (d_count_templates_scopes, d_print_comp_inner): Handle
+ DEMANGLE_COMPONENT_CONVERSION.
+ (d_print_comp_inner): Handle DEMANGLE_COMPONENT_CONVERSION instead
+ of DEMANGLE_COMPONENT_CAST.
+ (d_print_cast): Rename as ...
+ (d_print_conversion): ... this. Adjust comments.
+ (d_print_cast): Rewrite - simply print the left subcomponent.
+ * cp-demint.c (cplus_demangle_fill_component): Handle
+ DEMANGLE_COMPONENT_CONVERSION.
+
+ * testsuite/demangle-expected: Add tests.
+
+2015-11-12 Mike Stump <mikestump@comcast.net>
+
+ * Makefile.in (etags tags TAGS): Use && instead of ;.
+
+2015-11-09 Alan Modra <amodra@gmail.com>
+
+ * configure.ac: Check size of size_t.
+ * configure: Regenerate.
+ * config.in: Regenerate.
+
+2015-11-09 Alan Modra <amodra@gmail.com>
+
+ * obstack.c (_obstack_newchunk): Silence -Wc++compat warning.
+ (_obstack_begin_worker): Likewise. Move assignment to h->chunk
+ after alloc failure check.
+
+2015-11-09 Alan Modra <amodra@gmail.com>
+
+ PR gdb/17133
+ * obstack.c (__alignof__): Expand alignof_type from alignof.h.
+ (obstack_exit_failure): Don't use exitfail.h.
+ (_): Include libintl.h when HAVE_LIBINTL_H and nls enabled.
+ Provide default. Don't include gettext.h.
+ (_Noreturn): Define.
+ * obstacks.texi: Adjust node references to external libc info files.
+
+2015-11-09 Alan Modra <amodra@gmail.com>
+
+ PR gdb/17133
+ * obstack.c: Import current gnulib file.
+ * obstacks.texi: Updated doc, from glibc's manual/memory.texi.
+
+2015-11-06 Joel Brobecker <brobecker@adacore.com>
+
+ * configure.ac: Set AC_CV_FUNC_GETPAGESIZE to "yes" on
+ Android hosts.
+ * configure: Regenerate.
+
+2015-10-28 Jason Merrill <jason@redhat.com>
+
+ * Makefile.in (TAGS): Fix for separate build directory.
+
+2015-10-18 Roland McGrath <roland@gnu.org>
+ Iain Sandoe <iain@codesourcery.com>
+
+ PR other/63758
+ * pex-unix.c: Obtain the environment interface from settings in
+ environ.h rather than in-line code. Update copyright date.
+ * setenv.c: Likewise.
+ * xmalloc.c: Likewise.
+
+2015-09-30 Jason Merrill <jason@redhat.com>
+
+ * cp-demangle.c (d_cv_qualifiers): Dx means transaction_safe.
+ (cplus_demangle_type): Let d_cv_qualifiers handle it.
+ (d_dump, d_make_comp, has_return_type, d_encoding)
+ (d_count_templates_scopes, d_print_comp_inner)
+ (d_print_mod_list, d_print_mod, d_print_function_type)
+ (is_ctor_or_dtor): Handle DEMANGLE_COMPONENT_TRANSACTION_SAFE.
+
+2015-09-30 Nick Clifton <nickc@redhat.com>
+
+ Import the following patches from the GCC mainline:
+
+ 2015-08-15 Ian Lance Taylor <iant@google.com>
+
+ * cp-demangle.c (d_abi_tags): Preserve di->last_name across any
+ ABI tags.
+
+2015-08-11 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_parse_real): Remove call to strtod.
+ (strtod): Remove declaration.
+ * testsuite/d-demangle-expected: Update float and complex literal
+ tests to check correct hexadecimal demangling.
+
+2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * configure: Regenerated.
+
+2015-07-13 Mikhail Maltsev <maltsevm@gmail.com>
+
+ * cp-demangle.c (d_dump): Fix syntax error.
+ (d_identifier): Adjust type of len to match d_source_name.
+ (d_expression_1): Fix out-of-bounds access. Check code variable for
+ NULL before dereferencing it.
+ (d_find_pack): Do not recurse for FIXED_TYPE, DEFAULT_ARG and NUMBER.
+ (d_print_comp_inner): Add NULL pointer check.
+ * cp-demangle.h (d_peek_next_char): Define as inline function when
+ CHECK_DEMANGLER is defined.
+ (d_advance): Likewise.
+ * testsuite/demangle-expected: Add new testcases.
+
+2015-07-09 Uros Bizjak <ubizjak@gmail.com>
+
+ * getruntime.c (RUSAGE_SELF): Define if not already defined.
+ (get_runtime): Use RUSAGE_SELF as argument 1 of getrusage call.
+
+2015-06-01 Jason Merrill <jason@redhat.com>
+
+ * cp-demangle.c (cplus_demangle_type): Handle arguments to vendor
+ extended qualifier.
+
+2015-05-22 Yunlian Jiang <yunlian@google.com>
+
+ * configure.ac: Add AC_GNU_SOURCE.
+ * Makefile.in (COMPILE.c): Add -D_GNU_SOURCE.
+ * configure, config.in: Rebuild.
+ * floatformat.c (_GNU_SOURCE): Don't define if already defined.
+
+2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_symbol_kinds): New enum.
+ (dlang_parse_symbol): Update signature. Handle an ambiguity between
+ pascal functions and template value arguments. Only check for a type
+ if parsing a function, or at the top level. Return failure if the
+ entire symbol was not successfully demangled.
+ (dlang_identifier): Update signature. Handle an ambiguity between two
+ adjacent digits in a mangled symbol string.
+ (dlang_type): Update call to dlang_parse_symbol.
+ (dlang_template_args): Likewise.
+ (dlang_parse_template): Likewise.
+ (dlang_demangle): Likewise.
+ * testsuite/d-demangle-expected: Fix bad tests found, and add problematic
+ examples to the unittests.
+
+2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_template_args): Skip over specialized template
+ parameters in mangled symbol.
+ * testsuite/d-demangle-expected: Add coverage and unittest for specialized
+ template parameters.
+
+2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_type): Handle cent and ucent types.
+ * testsuite/d-demangle-expected: Add coverage tests for cent and ucent.
+
+2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_attributes): Handle return attributes, ignoring
+ return parameters in the mangled string. Return NULL if have encountered
+ an unknown attribute.
+ (dlang_function_args): Handle return parameters in the mangled string.
+ * testsuite/d-demangle-expected: Add coverage tests for functions with
+ return parameters and return attributes.
+
+2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_identifier): Check encoded length of identifier
+ to verify strncmp matches entire string.
+ * testsuite/d-demangle-expected: Fix wrong test for postblit symbol.
+
+2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_type_modifiers): New function.
+ (dlang_type_modifier_p): New function.
+ (dlang_call_convention_p): Ignore any kind of type modifier.
+ (dlang_type): Handle and emit the type modifier after delegate types.
+ (dlang_parse_symbol): Handle and emit the type modifier after the symbol.
+ * testsuite/d-demangle-expected: Add coverage tests for all valid
+ usages of function symbols with type modifiers.
+
+2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_call_convention): Return NULL if have reached the
+ end of the symbol, but expected something to read.
+ (dlang_attributes): Likewise.
+ (dlang_function_type): Likewise.
+ (dlang_type): Likewise.
+ (dlang_identifier): Likewise.
+ (dlang_value): Likewise.
+
+2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_parse_string): Represent embedded whitespace or
+ non-printable characters as hex or escape sequences.
+ * testsuite/d-demangle-expected: Add test for templates with tabs and
+ newlines embedded into the signature.
+
+2015-05-08 Joel Brobecker <brobecker@adacore.com>
+
+ * mkstemps.c: #include <time.h> if HAVE_TIME_H is defined
+ but not HAVE_SYS_TIME_H.
+
+2015-04-22 Eli Zaretskii <eliz@gnu.org>
+
+ * setenv.c <environ>: Declare only if not a macro.
+
+2015-04-14 Max Ostapenko <m.ostapenko@partner.samsung.com>
+
+ * testsuite/Makefile.in (LIBCFLAGS): Add LDFLAGS.
+
+2015-04-10 Jakub Jelinek <jakub@redhat.com>
+ Iain Sandoe <iain@codesourcery.com>
+
+ PR target/65351
+ * configure: Regenerate.
+
+2015-04-07 Jakub Jelinek <jakub@redhat.com>
+ Iain Sandoe <iain@codesourcery.com>
+
+ PR target/65351
+ * configure: Regenerate.
+
+2015-01-19 Eli Zaretskii <eliz@gnu.org>
+
+ * strerror.c <sys_nerr, sys_errlist>: Declare only if they aren't
+ macros.
+
+2014-12-24 Uros Bizjak <ubizjak@gmail.com>
+ Ben Elliston <bje@au.ibm.com>
+ Manuel Lopez-Ibanez <manu@gcc.gnu.org>
+
+ * xasprintf.c: New file.
+ * Makefile.in (CFILES): Add xasprintf.c.
+ (REQUIRED_OFILES): Add xasprintf.$(objext).
+ (xasprintf.$(objext)): New target.
+ * functions.texi: Regenerate.
+
+2014-12-11 Uros Bizjak <ubizjak@gmail.com>
+ Ben Elliston <bje@au.ibm.com>
+ Manuel Lopez-Ibanez <manu@gcc.gnu.org>
+
+ * xvasprintf.c: New file.
+ * vprintf-support.h: Likewise.
+ * vprintf-support.c: Likewise.
+ * Makefile.in (CFILES): Add vprintf-support.c, xvasprintf.c.
+ (REQUIRED_OFILES): Add vprintf-support.$(objext), xvasprintf.$(objext).
+ (vprintf-support.$(objext), xvasprintf.$(objext)): New targets.
+ (vasprintf.$(objext)): Depend on $(srcdir)/vprintf-support.h.
+ * functions.texi: Regenerate.
+ * vasprintf.c (int_vasprintf): Use libiberty_vprintf_buffer_size.
+
+2014-11-22 John David Anglin <danglin@gcc.gnu.org>
+
+ PR other/63694
+ * configure.ac: Check for strtol, strtoul, strtoll and strtoull
+ declarations.
+ * configure: Regenerated.
+
+2014-11-12 Kirill Yukhin <kirill.yukhin@intel.com>
+
+ * testsuite/test-strtol.c (run_tests): Cast strtol return to
+ unsigned long.
+
+2014-11-11 Anthony Brandon <anthony.brandon@gmail.com>
+ Manuel López-Ibáñez <manu@gcc.gnu.org>
+
+ PR driver/36312
+ * filename_cmp.c (canonical_filename_eq): New function to check if
+ file names are the same.
+ * functions.texi: Updated with documentation for new function.
+
+2014-11-11 David Malcolm <dmalcolm@redhat.com>
+
+ * ChangeLog.jit: New.
+
+2014-11-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * sigsetmask.c (_POSIX_SOURCE): Remove.
+
+2014-10-28 Yury Gribov <y.gribov@samsung.com>
+
+ * strtoll.c: New file.
+ * strtoull.c: New file.
+ * configure.ac: Add long long checks. Add harness for strtoll and
+ strtoull. Check decls for strtol, strtoul, strtoll, strtoull.
+ * Makefile.in (CFILES, CONFIGURED_OFILES): Add strtoll and strtoull.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * functions.texi: Regenerate.
+ * testsuite/Makefile.in (check-strtol): New rule.
+ (test-strtol): Likewise.
+ (mostlyclean): Clean up strtol test.
+ * testsuite/test-strtol.c: New test.
+
+2014-10-15 David Malcolm <dmalcolm@redhat.com>
+
+ * choose-temp.c (choose_tmpdir): Remove now-redundant local
+ copy of prototype.
+ * functions.texi: Regenerate.
+ * make-temp-file.c (choose_tmpdir): Convert return type from
+ char * to const char * - given that this returns a pointer to
+ a memoized allocation, the caller must not touch it.
+
+2014-10-14 Joel Brobecker <brobecker@adacore.com>
+
+ * d-demangle.c: Replace strtold with strtod in global comment.
+ (strtold): Remove declaration.
+ (strtod): New declaration.
+ (dlang_parse_real): Declare value as double instead of long
+ double. Replace call to strtold by call to strtod.
+ Update format in call to snprintf.
+
+2014-09-26 Jason Merrill <jason@redhat.com>
+
+ * cp-demangle.c (d_substitution): Handle abi tags on abbreviation.
+
+2014-09-26 Max Ostapenko <m.ostapenko@partner.samsung.com>
+
+ * pex-common.h (struct pex_funcs): Add new parameter for open_write field.
+ * pex-unix.c (pex_unix_open_write): Add support for new parameter.
+ * pex-djgpp.c (pex_djgpp_open_write): Likewise.
+ * pex-win32.c (pex_win32_open_write): Likewise.
+ * pex-common.c (pex_run_in_environment): Likewise.
+
+2014-09-23 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * Makefile.in (CFILES): Add d-demangle.c.
+ (REQUIRED_OFILES): Add d-demangle.o.
+ * cplus-dem.c (libiberty_demanglers): Add dlang_demangling case.
+ (cplus_demangle): Likewise.
+ * d-demangle.c: New file.
+ * testsuite/Makefile.in (really-check): Add check-d-demangle.
+ * testsuite/d-demangle-expected: New file.
+
+2014-09-19 Ian Lance Taylor <iant@google.com>
+
+ * simple-object-elf.c (simple_object_elf_write_ehdr): Correctly
+ handle objects with more than SHN_LORESERVE sections.
+ (simple_object_elf_write_shdr): Add sh_link parameter.
+ (simple_object_elf_write_to_file): Correctly handle objects with
+ more than SHN_LORESERVE sections.
+
+2014-08-29 Andrew Burgess <aburgess@broadcom.com>
+
+ * cp-demangle.c (d_dump): Only access field from s_fixed part of
+ the union for DEMANGLE_COMPONENT_FIXED_TYPE.
+ (d_count_templates_scopes): Likewise.
+
+2014-08-13 Gary Benson <gbenson@redhat.com>
+
+ * testsuite/demangler-fuzzer.c: New file.
+ * testsuite/Makefile.in (fuzz-demangler): New rule.
+ (demangler-fuzzer): Likewise.
+ (mostlyclean): Clean up demangler fuzzer.
+
+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.
(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.