gdb: move rust_language into rust-lang.h
[binutils-gdb.git] / gdbsupport / ChangeLog
index 4db482b151961de04f69fd2d2cd7cb1103d79ff8..cc21b0b50f056bce9749acf31592e4d33c67996c 100644 (file)
@@ -1,3 +1,239 @@
+2020-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdbsupport/common-utils.cc: Change 'ctype.h' include to
+       'safe-ctype.h'.
+       (extract_string_maybe_quoted): Use safe-ctype function versions.
+       (is_digit_in_base): Likewise.
+       (digit_to_int): Likewise.
+       (strtoulst): Likewise.
+       (skip_spaces): Likewise.
+       (skip_to_space): Likewise.
+
+2020-12-11  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * common-debug.h (debug_prefixed_printf_cond): New.
+       * event-loop.h (event_loop_debug_printf): Use
+       debug_prefixed_printf_cond.
+
+2020-12-08  Alexander Fedotov  <alfedotov@gmail.com>
+
+       * pathstuff.cc (get_standard_cache_dir): Use LOCALAPPDATA environment
+       variable when running on Windows.
+
+2020-12-01  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tdesc.cc (print_xml_feature::visit): Print enum fields using
+       'evalue' syntax.
+
+2020-12-01  Chungyi Chi  <demonic@csie.io>
+
+       * tdesc.cc (print_xml_feature::visit): Print enum size attribute.
+
+2020-11-20  Tom Tromey  <tromey@adacore.com>
+
+       * thread-pool.cc (thread_pool::set_thread_count): Ignore system
+       errors.
+
+2020-11-10  Tom Tromey  <tromey@adacore.com>
+
+       PR build/26848:
+       * pathstuff.h: Move include block here...
+       * pathstuff.cc: ... from here.
+
+2020-11-02  Tom Tromey  <tom@tromey.com>
+
+       * pathstuff.h (get_standard_config_dir): Declare.
+       * pathstuff.cc (get_standard_config_dir): New function.
+
+2020-11-02  Simon Marchi  <simon.marchi@efficios.com>
+
+       * common-exceptions.h: Fix indentation.
+       * event-loop.cc: Fix indentation.
+       * fileio.cc: Fix indentation.
+       * filestuff.cc: Fix indentation.
+       * gdb-dlfcn.cc: Fix indentation.
+       * gdb_string_view.h: Fix indentation.
+       * job-control.cc: Fix indentation.
+       * signals.cc: Fix indentation.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * common-debug.cc (debug_prefixed_printf): New.
+       * common-debug.h (debug_prefixed_printf): New declaration.
+       * event-loop.cc (event_loop_debug_printf_1): Remove.
+       * event-loop.h (event_loop_debug_printf_1): Remove.
+       (event_loop_debug_printf): Use debug_prefixed_printf.
+       (event_loop_ui_debug_printf): Use debug_prefixed_printf.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * common.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
+       AC_LANG_PROGRAM.
+       * configure: Re-generate.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * common.m4: Replace AC_FUNC_VFORK with AC_FUNC_FORK.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Re-generate.
+       * warning.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
+       AC_LANG_PROGRAM.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Re-generate.
+       * ptrace.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
+       AC_LANG_PROGRAM.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Re-generate.
+       * ptrace.m4: Re-indent.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * aclocal.m4: Re-generate.
+       * configure: Re-generate.
+       * configure.ac: Remove AM_PROG_CC_STDC.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of
+       AC_CANONICAL_SYSTEM.
+       * configure: Re-generate.
+
+2020-10-26  Pedro Alves  <pedro@palves.net>
+
+       * eintr.h (handle_eintr): Replace Ret template parameter with
+       ErrorValType.  Use it as type of the failure value.  Deduce the
+       function's return type using decltype.  Use lowercase for function
+       parameter names.
+
+2020-10-25  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Makefile.in: Re-generate.
+       * acinclude.m4: Update ptrace.m4 path.
+       * ptrace.m4: Move here.
+
+2020-10-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tdesc.h (allocate_target_description): Update return type.
+
+2020-10-07  Tom Tromey  <tromey@adacore.com>
+
+       * Makefile.in: Rebuild.
+       * Makefile.am (libgdbsupport_a_SOURCES): Add search.cc.
+       * search.h: New file.
+       * search.cc: New file.
+
+2020-10-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * event-loop.h (debug_event_loop): New variable declaration.
+       (event_loop_debug_printf_1): New function declaration.
+       (event_loop_debug_printf): New macro.
+       * event-loop.cc (debug_event_loop): New variable.
+       (handle_file_event): Add debug print.
+       (event_loop_debug_printf_1): New function.
+
+2020-10-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * common-debug.cc (debug_prefixed_vprintf): Move here.
+       * common-debug.h (debug_prefixed_vprintf): Move here.
+
+2020-10-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * event-loop.h (add_file_handler): Add "name" parameter.
+       * event-loop.cc (struct file_handler) <name>: New field.
+       (create_file_handler): Add "name" parameter, assign it to file
+       handler.
+       (add_file_handler): Add "name" parameter.
+
+2020-10-01  Kamil Rytarowski  <n54@gmx.com>
+
+       * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros.
+
+2020-09-29  Pedro Alves  <pedro@palves.net>
+
+       * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template
+       class instead of an alias template and adjust static_assert.
+
+2020-09-24  Simon Marchi  <simon.marchi@efficios.com>
+
+       * event-loop.c (struct file_handler): Remove typedef, re-format.
+
+2020-09-16  John Baldwin  <jhb@FreeBSD.org>
+
+       * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile().
+       * configure, config.in: Regenerate.
+
+2020-09-14  Pedro Alves  <pedro@palves.net>
+
+       * enum-flags.h: Include "traits.h".
+       (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a
+       structure.
+       (enum_underlying_type): Update comment.
+       (namespace enum_flags_detail): New.  Move struct zero_type here.
+       (EnumIsUnsigned, EnumIsSigned): New.
+       (class enum_flags): Make most methods constexpr.
+       (operator&=, operator|=, operator^=): Take an enum_flags instead
+       of an enum_type.  Make rvalue ref versions deleted.
+       (operator enum_type()): Delete.
+       (operator&, operator|, operator^, operator~): Delete, moved out of
+       class.
+       (raw()): New method.
+       (is_enum_flags_enum_type_t): Declare.
+       (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN)
+       (ENUM_FLAGS_GEN_COMP): New.  Use them to reimplement global
+       operators.
+       (operator~): Now constexpr and reimplemented.
+       (operator<<, operator>>): New deleted functions.
+       * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New.
+
+2020-09-14  Pedro Alves  <pedro@palves.net>
+
+       * traits.h (struct nonesuch, struct detector, detected_or)
+       (detected_or_t, is_detected, detected_t, detected_or)
+       (detected_or_t, is_detected_exact, is_detected_convertible): New.
+       * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * eintr.h: New file.
+
+2020-08-13  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * selftest.h (run_tests): Change parameter to array_view.
+       * selftest.c (run_tests): Change parameter to array_view and use
+       it.
+
+2020-07-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
+       * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for
+       <sys/procfs.h>.
+       * Makefile.in: Regenerate.
+       * configure, config.in: Regenerate.
+
+2020-07-28  Tom de Vries  <tdevries@suse.de>
+
+       PR build/26281
+       * gdb_optional.h (class optional): Add volatile member to union
+       contaning m_dummy and m_item.
+
+2020-07-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tdesc.h (struct target_desc_deleter): Moved here
+       from gdb/target-descriptions.h, extend comment.
+       (target_desc_up): Likewise.
+
+2020-06-30  Tom Tromey  <tromey@adacore.com>
+
+       PR build/26183:
+       * gdb_string_view.h (basic_string_view::to_string): Remove.
+       (gdb::to_string): New function.
+
 2020-06-27  Simon Marchi  <simon.marchi@efficios.com>
 
        * tdesc.h (class print_xml_feature) <add_line>: Add
        * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
        Makefile.am, Makefile.in, README: New files.
        * Moved from ../gdb/gdbsupport/
-