Suppress ARI warnings for vsprintf
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 0816e73381b249de88b30c7407ea632d9b45455b..0e1f484e51d50215b5fedc36c71fc4825a280ae3 100644 (file)
@@ -1,3 +1,822 @@
+2019-12-13  Tom Tromey  <tromey@adacore.com>
+
+       * gdbsupport/common-utils.c (string_printf, string_vprintf)
+       (string_vappendf): Add ARI comment.
+
+2019-12-13  Tom Tromey  <tromey@adacore.com>
+
+       * contrib/ari/gdb_ari.sh: Remove "fix" call for
+       floatformat_to_double.
+       * target-float.c (host_float_ops<T>::from_target): Add ARI
+       comment.
+
+2019-12-13  Tom Tromey  <tromey@adacore.com>
+
+       * contrib/ari/gdb_ari.sh: Remove "fix" call for abort.
+       * utils.c (abort_with_message, dump_core, internal_vproblem): Add
+       ARI marker to abort.
+       * event-top.c (handle_sigsegv): Add ARI marker to abort.
+
+2019-12-13  Tom Tromey  <tromey@adacore.com>
+
+       * contrib/ari/gdb_ari.sh: Fix floatformat_from_double text.
+
+2019-12-13  Tom Tromey  <tromey@adacore.com>
+
+       * contrib/ari/gdb_ari.sh: Remove ATTRIBUTE_UNUSED check.
+
+2019-12-13  Tom Tromey  <tromey@adacore.com>
+
+       * contrib/ari/gdb_ari.sh: Remove "boolean" and "var_boolean"
+       checks.
+
+2019-12-13  Tom Tromey  <tromey@adacore.com>
+
+       * gdbsupport/safe-iterator.h (class basic_safe_range) <begin,
+       end>: No longer "const".
+
+2019-12-13  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * jit.c: Fix indentation, replace spaces with tabs where
+       applicable.
+
+2019-12-13  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * configure.tgt: Match msp430-*-elf* targets when configuring GDB.
+
+2019-12-12  Tom Tromey  <tom@tromey.com>
+
+       * objfiles.h (struct objfile) <partial_symtabs>: Now a
+       unique_ptr.
+
+2019-12-12  Tom Tromey  <tom@tromey.com>
+
+       * progspace.h (objfile_list): New typedef.
+       (class unwrapping_objfile_iterator)
+       (struct unwrapping_objfile_range): Newl
+       (struct program_space) <objfiles_range>: Change type.
+       <objfiles>: Change return type.
+       <add_objfile>: Change type of "objfile" parameter.
+       <objfiles_list>: Now a list of shared_ptr.
+       * progspace.c (program_space::add_objfile): Change type of
+       "objfile".  Update.
+       (program_space::remove_objfile): Update.
+       * objfiles.h (struct objfile) <~objfile>: Make public.
+       * objfiles.c (objfile::make): Update.
+       (objfile::unlink): Don't call delete.
+
+2019-12-12  Tom Tromey  <tom@tromey.com>
+
+       * symfile.c (symbol_file_clear): Update.
+       * progspace.h (struct program_space) <free_all_objfiles>: Declare
+       method.
+       * progspace.c (program_space::free_all_objfiles): New method.
+       * objfiles.h (free_all_objfiles): Don't declare.
+       * objfiles.c (free_all_objfiles): Move to program_space.
+
+2019-12-12  Tom Tromey  <tom@tromey.com>
+
+       * progspace.c (program_space::add_objfile)
+       (program_space::remove_objfile): Update.
+       (program_space::multi_objfile_p): Remove.
+       * objfiles.h (struct objfile) <next>: Remove.
+       * objfiles.c (objfile::objfile): Update.
+       (put_objfile_before): Update.
+       (unlink_objfile): Update.
+       * progspace.h (object_files): Remove.
+       (struct program_space) <objfiles_head>: Remove.
+       <objfiles_list>: New member.
+       <objfiles_range, objfiles_safe_range>: Change type.
+       (objfiles): Change return type.
+       (objfiles_safe): Update.
+       (multi_objfile_p): Rewrite and inline.
+       (object_files): Remove macro.
+
+2019-12-12  Tom Tromey  <tom@tromey.com>
+
+       * gdbsupport/safe-iterator.h (basic_safe_iterator): Simplify.  Add
+       second constructor.
+       (basic_safe_range): New class.
+
+2019-12-12  Tom Tromey  <tom@tromey.com>
+
+       * progspace.c (program_space::multi_objfile_p): New method.
+       * printcmd.c (info_symbol_command): Update.
+       * maint.c (maintenance_translate_address): Update.
+       * objfiles.h (MULTI_OBJFILE_P): Remove.
+       * progspace.h (struct program_space) <multi_objfile_p>: New
+       method.
+
+2019-12-12  Tom Tromey  <tom@tromey.com>
+
+       * progspace.h (struct program_space) <remove_objfile>: Declare.
+       * progspace.c (program_space::remove_objfile): New method.
+       * objfiles.c (unlink_objfile): Remove.
+       (objfile::unlink): Call remove_objfile.
+       (objfile): Don't call unlink_objfile.
+
+2019-12-12  Tom Tromey  <tom@tromey.com>
+
+       * progspace.h (struct program_space) <add_objfile>: Declare
+       method.
+       * progspace.c (program_space::add_objfile): New method.
+       * objfiles.c (~objfile): Don't unlink objfile.
+       (put_objfile_before): Remove.
+       (add_separate_debug_objfile): Don't call put_objfile_before.
+       (objfile::make): Call add_objfile.  Set new_objfiles_available on
+       the per-program-space data.
+
+2019-12-12  Tom Tromey  <tom@tromey.com>
+
+       * symfile.c (syms_from_objfile_1): Use objfile_up.
+       (syms_from_objfile_1, remove_symbol_file_command): Call unlink
+       method.
+       (reread_symbols): Use objfile_up.
+       * solib.c (update_solib_list, reload_shared_libraries_1): Call
+       unlink method.
+       * objfiles.h (struct objfile) <~objfile>: Now private.
+       <unlink>: New method.
+       (struct objfile_deleter): New.
+       (objfile_up): New typedef.
+       * objfiles.c (objfile::unlink): New method.
+       (free_objfile_separate_debug, free_all_objfiles)
+       (objfile_purge_solibs): Use it.
+       * jit.c (jit_unregister_code): Remove.
+       (jit_inferior_exit_hook, jit_event_handler): Call unlink on
+       objfile.
+       * compile/compile-object-run.c (do_module_cleanup): Call unlink on
+       objfile.
+       * compile/compile-object-load.c (compile_object_load): Use
+       objfile_up.
+
+2019-12-12  Tom Tromey  <tom@tromey.com>
+
+       * symfile.c (symbol_file_add_with_addrs): Pass "parent" to
+       objfile::make.
+       * objfiles.h (struct objjfile) <make>: No longer inline.
+       (add_separate_debug_objfile): Don't declare.
+       * objfiles.c (add_separate_debug_objfile): Now static.
+       (objfile::make): Move from objfiles.h.  Call
+       add_separate_debug_objfile.  Add "parent" parameter.
+
+2019-12-12  Tom Tromey  <tom@tromey.com>
+
+       * symfile.c (symbol_file_add_with_addrs): Use objfile::make.
+       * objfiles.h (struct objfile): Make constructor private.
+       <make>: New static method.
+       * jit.c (jit_object_close_impl): Update.
+
+2019-12-12  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * jit.c (jit_reader_try_read_symtab): Replace xmalloc/xfree with
+       gdb::byte_vector.
+
+2019-12-12  Tom Tromey  <tromey@adacore.com>
+
+       * xml-support.c (xml_fetch_content_from_file): Don't call
+       malloc_failure.
+       * utils.h (class gdb_argv): Remove malloc_failure comment.
+       * utils.c (gdb_argv::reset): Don't call malloc_failure.
+
+2019-12-12  Tom Tromey  <tromey@adacore.com>
+
+       * Makefile.in (ALL_TARGET_OBS): Add riscv-ravenscar-thread.o.
+       (HFILES_NO_SRCDIR): Add riscv-ravenscar-thread.h.
+       (ALLDEPFILES): Add riscv-ravenscar-thread.c.
+       * configure.tgt (riscv-*-*): Add riscv-ravenscar-thread.o.
+       * riscv-ravenscar-thread.c: New file.
+       * riscv-ravenscar-thread.h: New file.
+       * riscv-tdep.c (riscv_gdbarch_init): Call
+       register_riscv_ravenscar_ops.
+
+2019-12-12  Tom Tromey  <tromey@adacore.com>
+
+       * gdbsupport/thread-pool.c (set_thread_name): Use
+       ATTRIBUTE_UNUSED.
+
+2019-12-12  Luis Machado  <luis.machado@linaro.org>
+
+       * gdbsupport/safe-strerror.c: Don't include diagnostics.h.
+       (select_strerror_r): Use ATTRIBUTE_UNUSED instead of the diagnostics
+       macros.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-win.c (tui_set_win_height_command): Call
+       tui_adjust_window_height.
+       (tui_adjust_win_heights, new_height_ok): Remove.
+       * tui/tui-layout.h (tui_adjust_window_height): Declare.
+       * tui/tui-layout.c (tui_adjust_window_height): New function.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-win.c (tui_resize_all): Remove code, call
+       tui_apply_current_layout.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-layout.h (tui_apply_current_layout): Declare.
+       * tui/tui-layout.c (standard_layouts, applied_layout): New
+       globals.
+       (tui_apply_current_layout): New function.
+       (show_layout): Set applied_layout.  Call
+       tui_apply_current_layout.
+       (show_source_command, show_disasm_command)
+       (show_source_disasm_command, show_data)
+       (show_source_or_disasm_and_command): Remove.
+       (initialize_layouts): New function.
+       (_initialize_tui_layout): Call initialize_layouts.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-layout.h (class tui_layout_base)
+       (class tui_layout_window, class tui_layout_split): New.
+       * tui/tui-layout.c (tui_get_window_by_name)
+       (tui_layout_window::clone, tui_layout_window::apply)
+       (tui_layout_window::get_sizes, tui_layout_window::add_split)
+       (tui_layout_split::add_window, tui_layout_split::clone)
+       (tui_layout_split::get_sizes)
+       (tui_layout_split::set_weights_from_heights)
+       (tui_layout_split::adjust_size, tui_layout_split::apply): New
+       functions.
+       (tui_layout_split::add_split, tui_layout_split::add_split)
+       (tui_layout_split::set_weights_from_heights)
+       (tui_layout_split::set_weights_from_heights): New functions.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-wingeneral.c (tui_gen_win_info::make_window): Update.
+       * tui/tui-win.c (tui_adjust_win_heights, tui_resize_all): Update.
+       * tui/tui-layout.c (tui_gen_win_info::resize): Update.
+       * tui/tui-data.h (struct tui_point): Remove.
+       (struct tui_gen_win_info) <origin>: Remove.
+       <x, y>: New fields.
+       * tui/tui-command.c (tui_cmd_window::resize): Update.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-stack.h (struct tui_locator_window) <min_height>:
+       Implement.
+       * tui/tui-regs.h (struct tui_data_item_window) <min_height>:
+       Implement.
+       * tui/tui-data.h (struct tui_gen_win_info) <min_height>: New
+       method.
+       (struct tui_win_info) <min_height>: Implement.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-data.h (struct tui_gen_win_info) <can_box>: New method.
+       (struct tui_win_info) <can_box>: Update.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-stack.h (struct tui_locator_window) <max_height>: New
+       method.
+       * tui/tui-regs.h (struct tui_data_item_window) <max_height>: New
+       method.
+       * tui/tui-data.h (struct tui_gen_win_info) <max_height>: New
+       method.
+       (struct tui_win_info) <max_height>: Now override.
+
+2019-12-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Create a new section for the next release branch.
+       Rename the section of the current branch, now that it has
+       been cut.
+
+2019-12-11  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 9 branch created (27f7b2f64062ac9e52afc60509263c2702a9ebd0):
+       * version.in: Bump version to 10.0.50.DATE-git.
+
+2019-12-11  Tom Tromey  <tromey@adacore.com>
+
+       PR build/25268:
+       * gdbsupport/thread-pool.c (set_thread_name): New function.
+       (thread_pool::set_thread_count): Don't call pthread_setname_np.
+       (thread_pool::thread_function): Call set_thread_name.
+
+2019-12-11  Tom Tromey  <tromey@adacore.com>
+
+       * fbsd-tdep.c (fbsd_core_info_proc_status): Cast result of
+       bfd_get_signed_8.
+
+2019-12-11  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * NEWS: Document -raw-values option and the related setting commands.
+       * printcmd.c (print_command_parse_format): Do not set opts->raw off,
+       only set it on when /r is given.
+       * valprint.c (value_print_option_defs): New element raw-values.
+       * Makefile.in: Add the new file.
+
+2019-12-10  Christian Biesinger  <cbiesinger@google.com>
+
+       * gdbsupport/safe-strerror.c: Supress the unused function warning
+       for select_strerror_r.
+
+2019-12-10  Christian Biesinger  <cbiesinger@google.com>
+
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * gdbsupport/agent.c (gdb_connect_sync_socket): Call
+       safe_strerror instead of strerror.
+       * gdbsupport/common.m4: Don't check for strerror.
+       * gdbsupport/safe-strerror.c: Support both the glibc version
+       of strerror_r and the XSI version.
+
+2019-12-10  Tom Tromey  <tromey@adacore.com>
+
+       * ada-typeprint.c (print_choices): Use a single "?".
+       (print_variant_part): Print "?" if the discriminant name
+       is not known.
+
+2019-12-10  George Barrett  <bob@bob131.so>
+
+       Fix scripted probe breakpoints.
+       * breakpoint.c (tracepoint_probe_breakpoint_ops): Move
+       declaration forward.
+       (breakpoint_ops_for_event_location_type)
+       (breakpoint_ops_for_event_location): Add function definitions.
+       (break_command_1, trace_command): Use
+       breakpoint_ops_for_event_location.
+       * breakpoint.h (breakpoint_ops_for_event_location): Add function
+       declarations.
+       * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Use
+       breakpoint_ops_for_event_location.
+       * python/py-breakpoint.c (bppy_init): Use
+       breakpoint_ops_for_event_location.
+
+2019-12-09  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdbtypes.c (rank_one_type): Return INCOMPATIBLE_TYPE_BADNESS
+       when ranking an lvalue argument for an rvalue parameter.
+
+2019-12-08  Wataru Ashihara  <wataash@wataash.com>
+
+       * darwin-nat.c (darwin_nat_target::create_inferior): Fix
+       template argument for scoped_restore_tmpl from bool to int.
+
+2019-12-07  Keith Seitz  <keiths@redhat.com>
+
+       * build-id.c (build_id_bfd_get): Permit bfd_core, too.
+       (build_id_to_debug_bfd): Make static, rewriting to use
+       build_id_to_bfd_suffix.
+       (build_id_to_bfd_suffix): Copy of build_id_to_debug_bfd,
+       adding `suffix' parameter. Append SUFFIX to file names
+       when searching for matching files.
+       (build_id_to_debug_bfd): Use build_id_to_bfd_suffix.
+       (build_id_to_exec_bfd): Likewise.
+       * build-id.h (build_id_to_debug_bfd): Clarify that function
+       searches for BFD of debug info file.
+       (build_id_to_exec_bfd): Declare.
+       * corelow.c: Include build-id.h.
+       (locate_exec_from_corefile_build_id): New function.
+       (core_target_open): If no executable BFD is found,
+       search for a core file BFD using build-id.
+
+2019-12-06  Christian Biesinger  <cbiesinger@google.com>
+
+       * bcache.c: Put in namespace gdb.
+       * bcache.h: Likewise.
+       * gdbtypes.c (check_types_worklist): Update.
+       (types_deeply_equal): Update.
+       * macrotab.c (struct macro_table) <bcache>: Update.
+       (new_macro_table): Update.
+       * macrotab.h (struct bcache): Put this forward declaration
+       inside namespace gdb.
+       (new_macro_table): Update.
+       * objfiles.h (struct objfile_per_bfd_storage) <filename_cache>:
+       Update.
+       <macro_cache>: Update.
+       * psymtab.h: (psymtab_storage) <psymbol_cache>: Update.
+
+2019-12-06  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/24971
+       * block.c (best_symbol, better_symbol): New function.
+       (block_lookup_symbol_primary, block_lookup_symbol): Prefer def over
+       decl.
+
+2019-12-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdbtypes.h: Define the REFERENCE_SEE_THROUGH_BADNESS value.
+       * gdbtypes.c (rank_one_type): Use REFERENCE_SEE_THROUGH_BADNESS
+       for ranking see-through reference cases.
+
+2019-12-06  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+       * stack.c (faas_command): Check a command is provided.
+       * thread.c (taas_command, tfaas_command): Likewise.
+
+2019-12-05  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+       * inferior.c (prune_inferiors):  Only call delete_inferior,
+       Do not modify the inferior list.
+
+2019-12-05  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * c-exp.y: Update calls to lookup_typename,
+       lookup_signed_typename and lookup_unsigned_typename.
+       * c-lang.c (evaluate_subexp_c): Likewise.
+       * cp-namespace.c (cp_lookup_symbol_imports_or_template):
+       Likewise.
+       * eval.c (binop_promote): Likewise.
+       * gdbtypes.c (lookup_typename): Remove gdbarch parameter.
+       (lookup_unsigned_typename): Likewise.
+       (lookup_signed_typename): Likewise.
+       * gdbtypes.h (lookup_unsigned_typename): Likewise.
+       (lookup_signed_typename): Likewise.
+       (lookup_typename): Likewise.
+       * guile/scm-type.c (tyscm_lookup_typename): Update calls to
+       lookup_typename, lookup_signed_typename,
+       lookup_unsigned_typename.
+       * m2-exp.y: Likewise.
+       * printcmd.c (printf_wide_c_string): Likewise.
+       (ui_printf): Likewise.
+       * python/py-type.c (typy_lookup_typename): Likewise.
+       * python/py-xmethods.c (python_xmethod_worker::invoke):
+       Likewise.
+       * rust-exp.y: Likewise.
+
+2019-12-04  Christian Biesinger  <cbiesinger@google.com>
+
+       * configure.nat (obsd64): Add missing files x86-nat.o and
+       nat/x86-dregs.o.
+
+2019-12-04  Tom Tromey  <tom@tromey.com>
+
+       * valprint.c (val_print_string): Use metadata_style.
+       * go-valprint.c (print_go_string): Use metadata style.
+       * p-valprint.c (pascal_object_print_static_field): Use metadata
+       style.
+       * cp-valprint.c (cp_print_static_field): Use metadata style.
+
+2019-12-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+           Chris January  <chris.january@arm.com>
+
+       * f-exp.y (COMPLEX_KEYWORD, SINGLE, DOUBLE, PRECISION): New
+       tokens.
+       (typebase): New patterns for complex, single/double precision, and
+       single/double complex.
+       (f77_keywords): Change token for complex keyword, and add single,
+       double, and precision keywords.
+
+2019-12-04  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * avr-tdep.c (_initialize_avr_tdep): Improve help of command
+       "info io_registers".
+
+2019-12-04  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * regcache.c (cooked_read_test): Initialize thread list of
+       mock_inferior.
+
+2019-12-04  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * aarch64-linux-tdep.c: Remove includes.
+
+2019-12-04  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * aarch64-tdep.c: Remove includes.
+
+2019-12-04  Simon Marchi  <simon.marchi@efficios.com>
+
+       * filtered-iterator.h (filtered_iterator) <operator==,
+       operator!=>: Compare wrapped iterators, not wrapped pointers.
+       * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+       unittests/filtered_iterator-selftests.c.
+       * unittests/filtered_iterator-selftests.c: New file.
+
+2019-12-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdbtypes.c (create_range_type): Inherit endianity
+       from base type.
+
+2019-12-04  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.c (decode_constrained_packed_array)
+       (ada_value_assign, value_assign_to_component): Update.
+       * dwarf2loc.c (rw_pieced_value, access_memory)
+       (dwarf2_compile_expr_to_ax): Update.
+       * dwarf2read.c (dwarf2_add_field): Update.
+       * eval.c (evaluate_subexp_standard): Update.
+       * gdbarch.c, gdbarch.h: Rebuild.
+       * gdbarch.sh (bits_big_endian): Remove.
+       * gdbtypes.h (union field_location): Update comment.
+       * target-descriptions.c (make_gdb_type): Update.
+       * valarith.c (value_bit_index): Update.
+       * value.c (struct value) <bitpos>: Update comment.
+       (unpack_bits_as_long, modify_field): Update.
+       * value.h (value_bitpos): Update comment.
+
+2019-12-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdbtypes.c (type_byte_order): Move earlier.  Assert for unknown
+       endian-ness.
+
+2019-12-04  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2read.c (dwarf2_init_float_type)
+       (dwarf2_init_complex_target_type): Add byte_order parameter.
+       (read_base_type): Compute byte order earlier.
+       * gdbtypes.c (init_float_type): Add byte_order parameter.
+       * gdbtypes.h (init_float_type): Add byte_order parameter.
+
+2019-12-04  Tom Tromey  <tromey@adacore.com>
+
+       * unittests/tui-selftests.c: Conditionally include tui-winsource.h.
+
+2019-12-04  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2read.c (process_structure_scope): Initialize
+       "discr_offset".
+
+2019-12-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * mi/mi-symbol-cmds.c (mi_symbol_info): Take extra parameter, and
+       add it into the search spec.
+       (parse_max_results_option): New function.
+       (mi_info_functions_or_variables): Parse -max-results flag and pass
+       it to mi_symbol_info.
+       (mi_cmd_symbol_info_modules): Likewise.
+       (mi_cmd_symbol_info_types): Likewise.
+       * symtab.c (global_symbol_searcher::add_matching_symbols): Change
+       return type to bool, change result container into a set, and don't
+       add new results if we have enough already.
+       (global_symbol_searcher::add_matching_msymbols): Change return
+       type to bool, and don't add new results if we have enough already.
+       (sort_search_symbols_remove_dups): Delete.
+       (global_symbol_searcher::search): Early exit from search loop when
+       we have enough results.  Use a std::set to collect the results
+       from calling add_matching_symbols.
+       * symtab.h (global_symbol_searcher) <set_max_seach_results>: New
+       member function.
+       (global_symbol_searcher) <m_max_search_results>: New member
+       variable.
+       (global_symbol_searcher) <add_matching_symbols>: Update header
+       comment and change return type to bool.
+       (global_symbol_searcher) <add_matching_msymbols>: Update header
+       comment and change return type to bool.
+
+2019-12-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * symtab.c (symbol_search::compare_search_syms): Update header
+       comment.
+       (global_symbol_searcher::is_suitable_msymbol): New function.
+       (global_symbol_searcher::expand_symtabs): New function.
+       (global_symbol_searcher::add_matching_symbols): New function.
+       (global_symbol_searcher::add_matching_msymbols): New function.
+       (global_symbol_searcher::search): Move most of the content
+       into the new functions above, and call them as needed.
+       * symtab.h (global_symbol_searcher) <expand_symtabs>: New member
+       function.
+       (global_symbol_searcher) <add_matching_symbols>: New member
+       function.
+       (global_symbol_searcher) <add_matching_msymbols>: New member
+       function.
+       (global_symbol_searcher) <is_suitable_msymbol>: New member
+       function.
+
+2019-12-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * mi/mi-cmds.c (mi_cmds): Add -symbol-info-module-functions and
+       -symbol-info-module-variables entries.
+       * mi/mi-cmds.h (mi_cmd_symbol_info_module_functions): Declare.
+       (mi_cmd_symbol_info_module_variables): Declare.
+       * mi/mi-symbol-cmds.c
+       (module_symbol_search_iterator): New typedef.
+       (output_module_symbols_in_single_module_and_file): New function.
+       (output_module_symbols_in_single_module): New function.
+       (mi_info_module_functions_or_variables): New function.
+       (mi_cmd_symbol_info_module_functions): New function.
+       (mi_cmd_symbol_info_module_variables): New function.
+       * NEWS: Mention new MI command.
+
+2019-12-03  Christian Biesinger  <cbiesinger@google.com>
+
+       * bcache.c (hash): Remove.
+       (hash_continue): Remove.
+       * bcache.h (hash): Remove.
+       (hash_continue): Remove.
+       (struct bcache) <ctor>: Update.
+       * psymtab.c (psymbol_hash): Update.
+       * stabsread.c (hashname): Update.
+       * utils.h (fast_hash): Add an argument for a start value,
+       defaulting to zero.
+
+2019-12-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+       * symtab.c (symbol_cache_clear_slot):  Move close to cleared type.
+       (destroy_block_symbol_cache): New function.
+       (symbol_cache:~symbol_cache) Call destroy_block_symbol_cache.
+       (resize_symbol_cache): Likewise.
+
+2019-12-02  Tom Tromey  <tom@tromey.com>
+
+       * unittests/tui-selftests.c (run_tests): Make conditional.
+       (_initialize_tui_selftest): Make conditional.
+
+2019-12-02  Christian Biesinger  <cbiesinger@google.com>
+
+       * aix-thread.c (debug_aix_thread): Change type to bool.
+
+2019-12-02  Luis Machado  <luis.machado@linaro.org>
+
+       * infrun.c (follow_fork_inferior): Remove outdated FIXME comment.
+
+2019-12-01  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * dwarf2read.c (read_tag_string_type): Read the fields required to
+       make a dynamic string, and possibly create a dynamic range for the
+       string.
+       (attr_to_dynamic_prop): Setup is_reference based on the type of
+       attribute being processed.
+       * gdbtypes.c (is_dynamic_type_internal): Handle TYPE_CODE_STRING.
+       (resolve_dynamic_array): Rename to...
+       (resolve_dynamic_array_or_string): ...this, update header comment,
+       and accept TYPE_CODE_STRING.
+       (resolve_dynamic_type_internal): Handle TYPE_CODE_STRING.
+
+2019-12-01  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * dwarf2read.c (dwarf2_per_cu_int_type): New function, takes most
+       of its implementation from...
+       (dwarf2_per_cu_addr_sized_int_type): ...here, which now just calls
+       the new function.
+
+2019-12-01  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * dwarf2read.c (read_subrange_type): Read bit and byte stride and
+       create a range with stride where appropriate.
+       * f-valprint.c: Include 'gdbarch.h'.
+       (f77_print_array_1): Take the stride into account when walking the
+       array.  Also convert the stride into addressable units.
+       * gdbtypes.c (create_range_type): Initialise the stride to
+       constant zero.
+       (create_range_type_with_stride): New function, initialise the
+       range as normal, and then setup the stride.
+       (has_static_range): Include the stride here.  Also change the
+       return type to bool.
+       (create_array_type_with_stride): Consider the range stride if the
+       array isn't given its own stride.
+       (resolve_dynamic_range): Resolve the stride if needed.
+       * gdbtypes.h (struct range_bounds) <stride>: New member variable.
+       (struct range_bounds) <flag_is_byte_stride>: New member variable.
+       (TYPE_BIT_STRIDE): Define.
+       (TYPE_ARRAY_BIT_STRIDE): Define.
+       (create_range_type_with_stride): Declare.
+       * valarith.c (value_subscripted_rvalue): Take range stride into
+       account when walking the array.
+
+2019-12-01  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-win.c (tui_all_windows_info): Treat inactive TUI
+       specially.
+
+2019-12-01  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-winsource.c (tui_copy_source_line): Don't advance past
+       \0.
+       * unittests/tui-selftests.c: New file.
+       * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add tui-selftests.c.
+
+2019-12-01  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui.c (tui_enable): Call tui_update_variables earlier.
+
+2019-12-01  Tom Tromey  <tom@tromey.com>
+
+       * NEWS: Document new settings.
+       * tui/tui-wingeneral.c (box_win): Apply appropriate border style.
+       * tui/tui-win.c (_initialize_tui_win): Add border style
+       observers.
+       * tui/tui-io.h (tui_apply_style): Declare.
+       * tui/tui-io.c (tui_apply_style): Rename from apply_style.  No
+       longer static.
+       (apply_ansi_escape, tui_set_reverse_mode): Update.
+       * cli/cli-style.h (class cli_style_option) <add_setshow_commands>:
+       Add "skip_intensity" parameter.
+       <changed>: New member.
+       <do_set_value>: Declare.
+       (tui_border_style, tui_active_border_style): Declare.
+       * cli/cli-style.c (tui_border_style, tui_active_border_style): New
+       globals.
+       (cli_style_option): Initialize "changed".
+       (cli_style_option::do_set_value): New function.
+       (cli_style_option::add_setshow_commands): Add "skip_intensity"
+       parameter.  Update.
+       (STYLE_ADD_SETSHOW_COMMANDS): Add "SKIP" parameter.
+       (_initialize_cli_style): Update.  Create TUI border style
+       commands.
+
+2019-12-01  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-winsource.h (tui_copy_source_line): Add "ndigits"
+       parameter.
+       * tui/tui-winsource.c (tui_copy_source_line): Add "ndigits"
+       parameter.
+       * tui/tui-win.h (compact_source): Declare.
+       * tui/tui-win.c (compact_source): New global.
+       (tui_set_compact_source, tui_show_compact_source): New functions.
+       (_initialize_tui_win): Add "compact-source" setting.
+       * tui/tui-source.c (tui_source_window::set_contents): Handle
+       compact_source setting.
+       * tui/tui-disasm.c (tui_disasm_window::set_contents): Update.
+       * NEWS: Document new setting.
+
+2019-11-30  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (dwarf2_add_field): Include field offset when
+       computing variant part length.
+
+2019-11-30  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+       * NEWS:  Mention define-prefix.  Tell that command names can now
+       contain a . character.
+
+2019-11-30  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * command.h (valid_cmd_char_p): Declare.
+       * cli/cli-decode.c (valid_cmd_char_p): New function factorizing
+       the check of valid command char.
+       (find_command_name_length, valid_user_defined_cmd_name_p): Use
+       valid_cmd_char_p.
+       * cli/cli-script.c (validate_comname): Likewise.
+       * completer.c (gdb_completer_command_word_break_characters):
+       Do not remove . from the word break char, update comments.
+       (complete_line_internal_1): Use valid_cmd_char_p.
+       * guile/scm-cmd.c (gdbscm_parse_command_name): Likewise.
+       * python/py-cmd.c (gdbpy_parse_command_name): Likewise.
+
+2019-11-30  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * cli/cli-script.c (do_define_command): Ensure a redefined
+       prefix command is kept as a prefix command.
+       (define_prefix_command): New function.
+       (show_user_1): Report user defined prefixes.
+       (_initialize_cli_script):  Create the new 'define-prefix' command.
+       Add completers for 'define' and 'document'.
+       * top.c (execute_command):  If command is a user-defined prefix only
+       command, report the list of commands for this prefix command.
+
+2019-11-29  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * valops.c (find_oload_champ): Improve debug output.
+
+2019-11-29  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * valops.c (find_oload_champ): Print part of debug messages
+       before the badness vector is std::move'd.
+
+2019-11-28  Tom Tromey  <tom@tromey.com>
+
+       * value.c (creal_internal_fn): Fix comment.
+
+2019-11-28  Tom Tromey  <tom@tromey.com>
+
+       * gdbtypes.h (struct range_bounds) <flag_upper_bound_is_count,
+       flag_bound_evaluated>: Now unsigned.
+
+2019-11-28  Tom Tromey  <tom@tromey.com>
+
+       * guile/guile-internal.h (vlscm_scm_from_value_unsafe): Don't
+       declare.
+
+2019-11-28  Mihails Strasuns  <mihails.strasuns@intel.com>
+
+       * jit.c (jit_bfd_try_read_symtab): Fix printed function name in the
+       debug output.
+       * jit.c (jit_unregister_code): Add debug print to match
+       `jit_register_code`.
+
+2019-11-27  Christian Biesinger  <cbiesinger@google.com>
+
+       * NEWS: Mention the new multithreaded symbol loading.
+
+2019-11-27  Christian Biesinger  <cbiesinger@google.com>
+
+       * maint.c (n_worker_threads): Default to 0.
+       (worker_threads_disabled): New function.
+       * maint.h (worker_threads_disabled): New function.
+       * minsyms.c (minimal_symbol_reader::record_full): Call symbol_set_names
+       here if worker_threads_disabled () is true.
+       (minimal_symbol_reader::install): Skip all threading if
+       worker_threads_disabled () is true.
+
+2019-11-27  Christian Biesinger  <cbiesinger@google.com>
+
+       * minsyms.c (add_minsym_to_hash_table): Use a previously computed
+       hash code if possible.
+       (add_minsym_to_demangled_hash_table): Likewise.
+       (minimal_symbol_reader::install): Compute the hash codes for msymbol
+       on the background thread.
+       * symtab.h (struct minimal_symbol) <hash_value, demangled_hash_value>:
+       Add these fields.
+
+2019-11-27  Christian Biesinger  <cbiesinger@google.com>
+
+       * minsyms.c (minimal_symbol_reader::install): Also compute the hash
+       of the mangled name on the background thread.
+       * symtab.c (symbol_set_names): Allow passing in the hash of the
+       linkage_name.
+       * symtab.h (symbol_set_names): Likewise.
+
 2019-11-27  Kevin Buettner  <kevinb@redhat.com>
 
        * dwarf2read.c (inherit_abstract_dies): Ensure that delayed
This page took 0.033513 seconds and 4 git commands to generate.