gdb: fix vfork with multiple threads
[deliverable/binutils-gdb.git] / ChangeLog
index 52d97d5fb8b550128558fa041c9b5f708190d87a..45db2cbaf77d9fdd94078d5afc93452fccbd818a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,591 @@
+2021-07-03  Nick Clifton  <nickc@redhat.com>
+
+       * 2.37 release branch created.
+
+2021-07-03  Nick Clifton  <nickc@redhat.com>
+
+       * libiberty: Sync with gcc.  Bring in:
+       2021-06-30  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * make-temp-file.c (usrtmp): Remove.
+       (choose_tmpdir): Remove use of usrtmp.
+
+       2021-06-28  Indu Bhagat  <indu.bhagat@oracle.com>
+
+       * simple-object.c (handle_lto_debug_sections): Copy over .BTF section.
+
+       2021-06-28  Indu Bhagat  <indu.bhagat@oracle.com>
+           David Faust  <david.faust@oracle.com>
+           Jose E. Marchesi  <jose.marchesi@oracle.com>
+           Weimin Pan  <weimin.pan@oracle.com>
+
+       * simple-object.c (handle_lto_debug_sections): Copy over .ctf
+       sections.
+
+       2021-06-05  John David Anglin  <danglin@gcc.gnu.org>
+
+       PR target/100734
+       * configure.ac: Use libiberty snprintf and vsnprintf on
+       hppa*-*-hpux*.
+       * configure: Regenerate.
+
+       2021-05-06  Tom Tromey  <tom@tromey.com>
+
+       * hashtab.c (htab_eq_string): New function.
+
+       2021-05-04  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * configure.ac: Make test for variables more robust.
+       * configure: Regenerate.
+
+       2021-05-03  H.J. Lu  <hjl.tools@gmail.com>
+
+       PR bootstrap/99703
+       * configure: Regenerated.
+
+       2021-04-21  Andreas Schwab  <schwab@linux-m68k.org>
+
+       PR demangler/100177
+       * rust-demangle.c (demangle_const_char): Properly print the
+       character value.
+
+       2021-03-31  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/88115
+       * cp-demangle.c (d_dump, d_make_comp, d_expression_1)
+       (d_count_templates_scopes): Handle DEMANGLE_COMPONENT_VENDOR_EXPR.
+       (d_print_comp_inner): Likewise.
+       <case DEMANGLE_COMPONENT_EXTENDED_OPERATOR>: Revert r11-4926
+       change.
+       <case DEMANGLE_COMPONENT_UNARY>: Likewise.
+       * testsuite/demangle-expected: Adjust __alignof__ tests.
+
+       2021-03-16  Nick Clifton  <nickc@redhat.com>
+
+       * sha1.c (sha1_process_bytes): Use memmove in place of memcpy.
+
+       2021-02-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (ACLOCAL, ACLOCAL_AMFLAGS, $(srcdir)/aclocal.m4): Define.
+       (configure_deps): Rename to ...
+       (aclocal_deps): ... this.  Replace aclocal.m4 with acinclude.m4.
+       ($(srcdir)/configure): Replace $(configure_deps) with
+       $(srcdir)/aclocal.m4.
+       * aclocal.m4: Move libiberty macros to acinclude.m4, then regenerate.
+       * acinclude.m4: New file.
+       * configure: Regenerate.
+
+       2021-02-19  Ayush Mittal  <ayush.m@samsung.com>
+
+       * argv.c (expandargv): free allocated buffer if read fails.
+
+       2021-02-01  Martin Sebor  <msebor@redhat.com>
+
+       * dyn-string.c (dyn_string_insert_cstr): Use memcpy instead of strncpy
+       to avoid -Wstringop-truncation.
+
+2021-05-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Add gnulib to configdirs for sim.
+       * configure: Regenerate.
+
+2021-05-24  Maciej W. Rozycki  <macro@orcam.me.uk>
+
+       * MAINTAINERS: Update path to readline config.{sub,guess} files.
+
+2021-05-24  Maciej W. Rozycki  <macro@orcam.me.uk>
+
+       * config.guess: Import from upstream.
+       * config.sub: Likewise.
+
+2021-05-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.def: Add configure-sim dependency on all-gnulib.
+       * Makefile.in: Regenerated.
+
+2021-05-04  Nick Clifton  <nickc@redhat.com>
+
+       * configure.ac (AC_PROG_CC): Replace with AC_PROG_CC_C99.
+       * configure: Regenerate.
+
+2021-03-18  Nick Alcock  <nick.alcock@oracle.com>
+
+       PR libctf/27482
+       * Makefile.def: Add install-bfd dependencies for install-libctf and
+       install-ld, and install-strip-bfd dependencies for
+       install-strip-libctf and install-strip-ld; move the install-ld
+       dependency on install-libctf to join it.
+       * Makefile.in: Regenerated.
+
+2021-03-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.def: Remove all-sim dependency on configure-gdb.
+       * Makefile.in: Regenerated.
+
+2021-02-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/26766
+       * Makefile.tpl (PGO_BUILD_TRAINING_FLAGS_TO_PASS): Add
+       PGO_BUILD_TRAINING=yes.
+       (PGO_BUILD_TRAINING_MFLAGS): New.
+       (all): Pass $(PGO_BUILD_TRAINING_MFLAGS) to the PGO build.
+
+2021-02-09  Alan Modra  <amodra@gmail.com>
+
+       * configure.ac: Delete arm*-*-symbianelf* entry.
+       * configure: Regenerate.
+
+2021-01-26  Nick Alcock  <nick.alcock@oracle.com>
+
+       * Makefile.def: Add install-libctf dependency to install-ld.
+       * Makefile.in: Regenerated.
+
+2021-01-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * src-release.sh (do_proto_toplev): Rewrite indentation.
+
+2021-01-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/26766
+       * configure.ac:
+       * configure: Regenerated.
+
+2021-01-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/27173
+       * configure: Regenerated.
+       * libtool.m4 (_LT_CMD_OLD_ARCHIVE): Check if AR works with
+       --plugin and rc before enabling --plugin.
+
+2021-01-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/26766
+       * Makefile.tpl (BUILD_CFLAGS): New.
+       (CFLAGS): Append $(BUILD_CFLAGS).
+       (CXXFLAGS): Likewise.
+       (PGO_BUILD_GEN_FLAGS_TO_PASS): New.
+       (PGO_BUILD_TRAINING_CFLAGS): Likewise.
+       (PGO_BUILD_TRAINING_CXXFLAGS): Likewise.
+       (PGO_BUILD_TRAINING_FLAGS_TO_PASS): Likewise.
+       (PGO_BUILD_TRAINING_MFLAGS): Likewise.
+       (PGO_BUILD_USE_FLAGS_TO_PASS): Likewise.
+       (PGO-TRAINING-TARGETS): Likewise.
+       (PGO_BUILD_TRAINING): Likewise.
+       (all): Add '+' to the command line for recursive make.  Support
+       the PGO build.
+       * configure.ac: Add --enable-pgo-build[=lto].
+       AC_SUBST PGO_BUILD_GEN_CFLAGS, PGO_BUILD_USE_CFLAGS and
+       PGO_BUILD_LTO_CFLAGS.  Enable the PGO build in Makefile.
+       * Makefile.in: Regenerated.
+       * configure: Likewise.
+
+2021-01-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.tpl (AR): Add @AR_PLUGIN_OPTION@
+       (RANLIB): Add @RANLIB_PLUGIN_OPTION@.
+       * configure.ac: Include config/gcc-plugin.m4.
+       AC_SUBST AR_PLUGIN_OPTION and RANLIB_PLUGIN_OPTION.
+       * libtool.m4 (_LT_CMD_OLD_ARCHIVE): Pass --plugin to AR and
+       RANLIB if possible.
+       * Makefile.in: Regenerated.
+       * configure: Likewise.
+
+2021-01-09  Nick Clifton  <nickc@redhat.com>
+
+       * 2.36 release branch crated.
+
+2021-01-07  Samuel Thibault  <samuel.thibault@gnu.org>
+
+       * libtool.m4: Match gnu* along with other GNU systems.
+
+2021-01-07  Alan Modra  <amodra@gmail.com>
+
+       * config.sub: Accept OS of eabi* and gnueabi*.
+
+2021-01-05  Nick Alcock  <nick.alcock@oracle.com>
+
+       * Makefile.def (libctf): No longer no_check.  Checking depends on
+       all-ld.
+       * Makefile.in: Regenerated.
+
+2021-01-05  Nick Clifton  <nickc@redhat.com>
+
+       * libiberty: Sync with gcc.  Bring in:
+       2021-01-04  Martin Liska  <mliska@suse.cz>
+
+       * strverscmp.c: Convert to utf8 from iso8859.
+
+       2020-12-22  Jason Merrill  <jason@redhat.com>
+
+       PR c++/67343
+       * cp-demangle.h (struct d_info): Add unresolved_name_state.
+       * cp-demangle.c (d_prefix): Add subst parm.
+       (d_nested_name): Pass it.
+       (d_unresolved_name): Split out from...
+       (d_expression_1): ...here.
+       (d_demangle_callback): Maybe retry with old sr mangling.
+       * testsuite/demangle-expected: Add test.
+
+       2020-12-21  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (d_expression_1): Recognize qualified-id
+       on RHS of dt/pt.
+       * testsuite/demangle-expected: Add test.
+
+       2020-12-21  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (d_unqualified_name): Clear is_expression.
+       * testsuite/demangle-expected: Add tests.
+
+       2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
+
+       * configure: Regenerate.
+       * configure.ac: Avoid using sanitizer.
+
+       2020-11-13  Eduard-Mihai Burtescu  <eddyb@lyken.rs>
+
+       * rust-demangle.c (struct rust_demangler): Add
+       skipping_printing and bound_lifetime_depth fields.
+       (eat): Add (v0-only).
+       (parse_integer_62): Add (v0-only).
+       (parse_opt_integer_62): Add (v0-only).
+       (parse_disambiguator): Add (v0-only).
+       (struct rust_mangled_ident): Add punycode{,_len} fields.
+       (parse_ident): Support v0 identifiers.
+       (print_str): Respect skipping_printing.
+       (print_uint64): Add (v0-only).
+       (print_uint64_hex): Add (v0-only).
+       (print_ident): Respect skipping_printing,
+       Support v0 identifiers.
+       (print_lifetime_from_index): Add (v0-only).
+       (demangle_binder): Add (v0-only).
+       (demangle_path): Add (v0-only).
+       (demangle_generic_arg): Add (v0-only).
+       (demangle_type): Add (v0-only).
+       (demangle_path_maybe_open_generics): Add (v0-only).
+       (demangle_dyn_trait): Add (v0-only).
+       (demangle_const): Add (v0-only).
+       (demangle_const_uint): Add (v0-only).
+       (basic_type): Add (v0-only).
+       (rust_demangle_callback): Support v0 symbols.
+       * testsuite/rust-demangle-expected: Add v0 testcases.
+
+       2020-11-13  Seija Kijin  <doremylover456@gmail.com>
+
+       * strstr.c (strstr): Make implementation ANSI/POSIX compliant.
+
+       2020-11-11  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/88115
+       * cp-demangle.c (d_print_comp_inner)
+       <case DEMANGLE_COMPONENT_EXTENDED_OPERATOR>: Don't print the
+       "operator " prefix for __alignof__.
+       <case DEMANGLE_COMPONENT_UNARY>: Always print parens around the
+       operand of __alignof__.
+       * testsuite/demangle-expected: Test demangling for __alignof__.
+
+       2020-11-09  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * pex-win32.c (pex_win32_exec_child): Initialize orig_err.
+
+       2020-10-06  Martin Liska  <mliska@suse.cz>
+
+       PR lto/97290
+       * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
+       Use sh_link of a .symtab_shndx section.
+
+2021-01-05  Alan Modra  <amodra@gmail.com>
+
+       * config.guess: Import from upstream.
+       * config.sub: Likewise.
+
+2020-12-16  Martin Liska  <mliska@suse.cz>
+           Tom de Vries  <tdevries@suse.de>
+
+       * gdb/debuginfod-support.c (struct user_data): Remove has_printed
+       field.  Add meter field.
+       (progressfn): Print progress using meter.
+
+2020-12-02  Enze Li  <lienze2010@hotmail.com>
+
+       * .gitignore: Add gnu global outputs.
+
+2020-12-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * .gitignore: Sync with gcc.
+
+2020-10-26  Andreas Rammhold <andreas@rammhold.de>
+
+       * src-release.sh: Use sha256sum instead of md5sum.
+
+2020-10-14  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * Makefile.in: Rebuild.
+       * Makefile.def: Make distclean-gnulib depend on distclean-gdb and
+       distclean-gdbserver.
+
+2020-07-24  Aaron Merey  <amerey@redhat.com>
+
+       * configure: Rebuild.
+       * configure.ac: Remove AC_DEBUGINFOD.
+
+2020-07-04  Nick Clifton  <nickc@redhat.com>
+
+       Binutils 2.35 branch created.
+
+2020-04-21  Stephen Casner  <casner@acm.org>
+
+       PR 25830
+       * configure.ac (noconfigdirs): Exclude gdb & gprof for pdp11.
+       * configure: Rebuild.
+
+2020-03-12  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in: Rebuild.
+       * Makefile.def (gdbserver): Depend on gdbsupport.
+
+2020-03-12  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in: Rebuild.
+       * Makefile.def (gdbsupport): Don't depend on bfd.
+
+2020-03-12  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in: Rebuild.
+       * Makefile.def (gdbsupport): Depend on intl.
+
+2020-02-17  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+       * configure.ac (configdirs): Add gnulib and gdbsupport when building
+       gdbserver.
+
+2020-02-14  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in: Rebuild.
+       * Makefile.def: Make gdbserver require gnulib and libiberty.
+
+2020-02-07  Tom Tromey  <tom@tromey.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * src-release.sh (GDB_SUPPORT_DIRS): Add gdbserver.
+       * gdbserver: New directory, moved from gdb/gdbserver.
+       * configure.ac (host_tools): Add gdbserver.
+       Only build gdbserver on certain systems.
+       * Makefile.in, configure: Rebuild.
+       * Makefile.def (host_modules, dependencies): Add gdbserver.
+       * MAINTAINERS: Add gdbserver.
+
+2020-01-28  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * src-release.sh (getver): Look for gdbsupport's
+       create-version.sh script at the current directory if tool is
+       "gdb".
+
+2020-01-19  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * remote-sim.c (gdbsim_target::wait): Return
+       sim_data->remote_sim_ptid instead of inferior_ptid.
+
+2020-01-18  Nick Clifton  <nickc@redhat.com>
+
+       Binutils 2.34 branch created.
+
+2020-01-18  Nick Clifton  <nickc@redhat.com>
+
+       Synchronize top level configure files with master version:
+
+       2020-01-01  Ben Elliston  <bje@gnu.org>
+
+       * config.guess: Update copyright years.
+       * config.sub: Likewise.
+
+       2019-12-21  Ben Elliston  <bje@gnu.org>
+
+       * config.guess (set_cc_for_build): Prevent multiple calls by
+       checking if $tmp is already set. We can't check CC_FOR_BUILD as
+       the user may set it externally. Thanks to Torbjörn Granlund for
+       the bug report.
+
+       2019-12-21  Torbjörn Granlund  <tg@gmplib.org>
+
+       * config.guess (alpha:Linux:*:*): Guard against missing
+       /proc/cpuinfo by redirecting standard error to /dev/null.
+
+       2019-09-12  Daniel Bittman  <danielbittman1@gmail.com>
+
+       * config.guess (*:Twizzler:*:*): New.
+       * config.sub (-twizzler*): New.
+
+       2019-07-24  Ben Elliston  <bje@gnu.org>
+
+       * config.guess (mips:OSF1:*.*): Whitespace cleanup.
+
+       2019-06-30  Ben Elliston  <bje@gnu.org>
+
+       * config.sub (case $os): Match nsk* and powerunix. Don't later
+       match nsk* and set os=nsk which removes the OS version number.
+
+       2019-06-30  Ben Elliston  <bje@gnu.org>
+
+       * config.sub: Recognise os108*.
+
+       2019-06-26  Ben Elliston  <bje@gnu.org>
+
+       * config.sub (hp300): Set $os to hpux.
+
+       2019-06-26  Ben Elliston  <bje@gnu.org>
+
+       * config.sub (vsta): Move into alphabetical order.
+
+       2019-06-10  Ben Elliston  <bje@gnu.org>
+
+       * config.guess (*:OS108:*:*): Recognise new OS.
+
+       2019-05-28  Ben Elliston  <bje@gnu.org>
+
+       * config.guess (*:Darwin:*:*): Run xcode-select to determine if a
+       system compiler is installed. If not, do not run set_cc_for_build,
+       as the default cc will open a dialog box asking to install
+       Xcode. If no C compiler is available, guess based on uname -p and
+       uname -m.
+
+       2019-05-28  Ben Elliston  <bje@gnu.org>
+
+       * config.guess (*:Darwin:*:*): Simplify UNAME_PROCESSOR.
+
+2020-01-17  Simon Marchi  <simon.marchi@efficios.com>
+
+       * Makefile.def: Add dependencies of all-gdbsupport on all-bfd.
+       * Makefile.in: Re-generate.
+
+2020-01-14  Tom Tromey  <tom@tromey.com>
+
+       * src-release.sh (GDB_SUPPORT_DIRS): Add gdbsupport.
+       * MAINTAINERS: Add gdbsupport.
+       * configure: Rebuild.
+       * configure.ac (configdirs): Add gdbsupport.
+       * gdbsupport: New directory, move from gdb/gdbsupport.
+       * Makefile.def (host_modules, dependencies): Add gnulib.
+       * Makefile.in: Rebuild.
+
+2020-01-09  Aaron Merey  <amerey@redhat.com>
+
+        * config/debuginfod.m4: New file. Add macro AC_DEBUGINFOD. Adds
+        new configure option --with-debuginfod.
+        * configure: Regenerate.
+        * configure.ac: Call AC_DEBUGINFOD.
+
+2019-12-26  Christian Biesinger  <cbiesinger@google.com>
+
+       * .gitignore: Add perf.data and perf.data.old.
+
+2019-10-17  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * src-release.sh (GDB_SUPPORT_DIRS): Add libctf.
+
+2019-10-17  Alan Modra  <amodra@gmail.com>
+
+       PR 29
+       * src-release.sh (getver): Replace "head -1" with "head -n 1".
+
+2019-07-30  Nick Alcock  <nick.alcock@oracle.com>
+
+       * Makefile.def (host_modules): libctf is no longer no_install.
+       * Makefile.in: Regenerated.
+
+2019-07-13  Nick Alcock  <nick.alcock@oracle.com>
+
+       * Makefile.def (dependencies): all-ld depends on all-libctf.
+       * Makefile.in: Regenerated.
+
+2019-09-09  Phil Blundell  <pb@pbcl.net>
+
+       binutils 2.33 branch created
+
+2019-08-19  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+       * configure.ac: Add --with-static-standard-libraries.
+
+2019-08-09  Nick Clifton  <nickc@redhat.com>
+
+       * libiberty: Sync with gcc.  Bring in:
+       2019-08-08  Martin Liska  <mliska@suse.cz>
+
+       PR bootstrap/91352
+       * lrealpath.c (is_valid_fd): New function.
+
+       2019-07-24  Martin Liska  <mliska@suse.cz>
+
+       PR lto/91228
+       * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
+       Find first '\0' starting from gnu_lto + 1.
+
+       2019-07-12  Ren Kimura  <rkx1209dev@gmail.com>
+
+       * simple-object-elf.c (simple_object_elf_match): Check zero value shstrndx.
+       This fixes a Bug 90924.
+
+       2019-07-22  Martin Liska  <mliska@suse.cz>
+
+       * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
+       Do not search for gnu_lto_v1, but search for first '\0'.
+
+       2019-07-18  Eduard-Mihai Burtescu  <eddyb@lyken.rs>
+
+       * cplus-dem.c: Include rust-demangle.h.
+       * rust-demangle.c: Include rust-demangle.h.
+       * rust-demangle.h: New file.
+
+       2019-05-31  Michael Forney  <mforney@mforney.org>
+
+       * cp-demangle.c: Don't define CP_DYNAMIC_ARRAYS if __STDC_NO_VLA__
+       is non-zero.
+
+       2019-04-30  Ben L  <bobsayshilol@live.co.uk>
+
+       * d-demangle.c (dlang_parse_assocarray): Correctly handle error result.
+       * testsuite/d-demangle-expected: Add testcase.
+
+       * d-demangle.c (dlang_parse_tuple): Correctly handle error result.
+       * testsuite/d-demangle-expected: Add testcase.
+
+       * d-demangle.c (dlang_parse_structlit): Correctly handle error result.
+       * testsuite/d-demangle-expected: Add testcase.
+
+       * d-demangle.c (dlang_parse_arrayliteral): Correctly handle error result.
+       * testsuite/d-demangle-expected: Add testcase.
+
+       * d-demangle.c (dlang_parse_integer): Fix stack underflow.
+       * testsuite/d-demangle-expected: Add testcase.
+
+       * cp-demangle (d_print_comp_inner): Guard against a NULL 'typed_name'.
+       * testsuite/demangle-expected: Add testcase.
+
+       * cp-demangle.c (d_encoding): Guard against NULL return values from
+       d_right (dc).
+       * testsuite/demangle-expected: Add testcase.
+
+       2019-04-29  Ben L  <bobsayshilol@live.co.uk>
+
+       * cp-demangle.c (d_expression_1): Don't peek ahead unless the current
+       char is valid.
+       * testsuite/demangle-expected: Add testcase.
+
+       2019-04-10  Nick Clifton  <nickc@redhat.com>
+
+       PR 89394
+       * cp-demangle.c (cplus_demangle_fill_name): Reject negative
+       lengths.
+       (d_count_templates_scopes): Replace num_templates and num_scopes
+       parameters with a struct d_print_info pointer parameter.  Adjust
+       body of the function accordingly.  Add recursion counter and check
+       that the recursion limit is not reached.
+       (d_print_init): Pass dpi parameter to d_count_templates_scopes.
+       Reset recursion counter afterwards, unless the recursion limit was
+       reached.
+
 2019-07-13  Joel Brobecker  <brobecker@adacore.com>
 
        * src-release (getver): If $tool/gdbsupport/create-version.sh
This page took 0.030843 seconds and 4 git commands to generate.