Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e5aac22ae3e449b199673ee59b96cf13591eaf0e..477b17762c5e3ac5fca0bb19249c09ada2504905 100644 (file)
@@ -1,3 +1,771 @@
+2021-08-23  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/26880
+       * gdb/exec.c (exec_file_attach): Use %s instead of %ps in call to
+       error function.
+
+2021-08-06  Simon Marchi  <simon.marchi@polymtl.ca>
+           Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/28004
+       * dwarf2/read.c (dwarf2_rnglists_process, dwarf2_ranges_process):
+       Fix zero address complaint.
+
+2021-08-02  Tom Tromey  <tromey@adacore.com>
+
+       PR varobj/28131
+       * varobj.c (~varobj): Delete 'dynamic' before 'root'.
+
+2021-08-02  Shahab Vahedi  <shahab@synopsys.com>
+
+       PR gdb/28104
+       * gdbtypes.c (gdbtypes_post_init): Use
+       "arch_boolean_type (..., unsigned=1, ...) to construct
+       "boolean".
+       cp-valprint.c (test_print_flags): New.
+       (_initialize_cp_valprint): Run the "test_print_flags" unit-test.
+
+2021-07-28  Tom de Vries  <tdevries@suse.de>
+
+       * dwarf2/read.c (attr_to_dynamic_prop): Handle DW_FORM_data16.
+
+2021-07-27  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/26904
+       * gdb/testsuite/gdb.ada/big_packed_array.exp: Add xfail.
+
+2021-07-27  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/26903
+       * gdb/testsuite/gdb.ada/array_of_variant.exp: Add xfails.
+
+2021-07-26  Frederic Cambus  <fred@statdns.com>
+
+       * syscalls/netbsd.xml: Regenerate.
+
+2021-07-26  Shahab Vahedi  <shahab@synopsys.com>
+           Simon Marchi  <simon.marchi@efficios.com>
+
+       PR gdb/28103
+       * valprint.c (val_print_type_code_flags): Merely shift the VAL
+       to the right to get rid of the lower bits.
+       (test_print_flags): New.
+       (_initialize_valprint): Invoke the "test_print_flags" as a unit-test.
+
+2021-07-26  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       PR gdb/28076
+       * mi/mi-cmd-break.c (mi_cmd_break_condition): Handle the case
+       of having no condition argument.
+
+2021-07-20  Luis Machado  <luis.machado@linaro.org>
+           Pedro Alves  <pedro@palves.net>
+
+       PR gdb/28110
+       * gdbarch.sh: Updated documentation for gdbarch_tagged_address_p.
+       * gdbarch.h: Regenerate.
+       * printcmd.c (should_validate_memtags): Reorder comparisons and only
+       validate tags for pointer and reference types.  Skip validation of
+       optimized out or unavailable values.
+       (print_command_1): Guard call memory tagging validation code with
+       a try/catch block.
+
+2021-07-19  Tom Tromey  <tromey@adacore.com>
+
+       PR gdb/28093
+       * language.c (auto_or_unknown_language::parser): Call error.
+
+2021-07-17  Sergey Belyashov  <Sergey.Belyashov@gmail.com>
+
+       * Makefile.in (ALL_TARGET_OBS): Add z80-tdep.c.
+       * NEWS: Mention z80 support.
+       * configure.tgt: Handle z80*.
+       * features/Makefile (XMLTOC): Add z80.xml.
+       * features/z80-cpu.xml: New.
+       * features/z80.c: Generate.
+       * features/z80.xml: New.
+       * z80-tdep.c: New file.
+       * z80-tdep.h: New file.
+
+2021-07-13  Lancelot Six  <lsix@lancelotsix.com>
+
+       * make-init-c: Use /bin/sh as shebang.
+
+2021-07-13  Pedro Alves  <pedro@palves.net>
+
+       PR gdb/28080
+       * gdb_bfd.c (gdb_bfd_close_warning): New.
+       (gdb_bfd_iovec_fileio_close): Wrap target_fileio_close in
+       try/catch and print warning on exception.
+       (gdb_bfd_close_or_warn): Use gdb_bfd_close_warning.
+
+2021-07-13  Pedro Alves  <pedro@palves.net>
+
+       PR gdb/28080
+       * remote.c (remote_unpush_target): Invalidate file I/O target
+       handles.
+       * target.c (fileio_handles_invalidate_target): Make extern.
+       * target.h (fileio_handles_invalidate_target): Declare.
+
+2021-07-13  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * mi/mi-main.c (mi_cmd_exec_interrupt): Use
+       scoped_disable_commit_resumed in the --thread-group case.
+
+2021-07-13  John Ericson  <git@JohnEricson.me>
+
+       * sparc-tdep.h: Fix comment.
+       * netbsd-tdep.c (nbsd_info_proc_mappings_header): Fix comment.
+       (nbsd_init_abi): Fix comment.
+       * configure.tgt (*-*-netbsd* | *-*-knetbsd*-gnu): Fix netbsd
+       file name.
+       (alpha*-*-openbsd*): Likewise.
+       (sparc-*-openbsd*): Likewise.
+       (sparc64-*-openbsd*): Likewise.
+
+2021-07-11  Tom Tromey  <tom@tromey.com>
+
+       Committed by Joel Brobecker  <brobecker@adacore.com>:
+       * gdb/symtab.c (info_sources_filter::matches): Add default
+       case hander in switch statement.
+
+2021-07-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * s390-linux-tdep.c (s390_linux_init_abi_any): Pass 1 (number
+       of displaced stepping buffers to linux_init_abi.
+       * s390-tdep.c (s390_gdbarch_init): Don't set the Linux-specific
+       displaced-stepping gdbarch callbacks.
+
+2021-07-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Makefile.in (SUBDIRS): Remove testsuite.
+
+2021-07-06  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure.ac: Remove things that were moved from
+       testsuite/configure.ac.
+       * configure: Re-generate.
+
+2021-07-05  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * config.in, configure: Re-generate.
+
+2021-07-04  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * solib-darwin.c (darwin_solib_create_inferior_hook): Return
+       early if no execution.
+
+2021-07-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * version.in: Set GDB version number to 11.0.90.DATE-git.
+
+2021-07-03  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 11.0.90 released.
+
+2021-07-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * version.in: Set GDB version number to 11.0.90.
+
+2021-07-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Replace "Changes since GDB 10" by "Changes in GDB 11".
+
+2021-07-03  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 11 branch created (4b51505e33441c6165e7789fa2b6d21930242927):
+       * version.in: Bump version to 11.0.90.DATE-git.
+
+2021-07-02  Tom Tromey  <tromey@adacore.com>
+
+       * ada-exp.y (chop_selector, chop_separator, write_selectors)
+       (write_ambiguous_var, get_symbol_field_type): Use const.
+
+2021-07-02  Pedro Alves  <pedro@palves.net>
+           Hannes Domani  <ssbssa@yahoo.de>
+
+       * NEWS: Add new "TUI Improvements" section and mention mouse
+       support and that unrecognized special keys are now passed to
+       GDB.  Mention Python Window.click in the Python improvements
+       section.
+
+2021-07-01  Pedro Alves  <pedro@palves.net>
+
+       PR mi/15729
+       PR gdb/13463
+       * linux-nat.c (linux_nat_target::detach): Close the
+       /proc/<pid>/mem file if it was open for this process.
+       (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>: Close the
+       /proc/<pid>/mem file if it was open for this process.
+       (linux_nat_target::mourn_inferior): Close the /proc/<pid>/mem file
+       if it was open for this process.
+       (linux_nat_target::xfer_partial): Adjust.  Do not fall back to
+       inf_ptrace_target::xfer_partial for memory accesses.
+       (last_proc_mem_file): New.
+       (maybe_close_proc_mem_file): New.
+       (linux_proc_xfer_memory_partial_pid): New, with bits factored out
+       from linux_proc_xfer_partial.
+       (linux_proc_xfer_partial): Delete.
+       (linux_proc_xfer_memory_partial): New.
+
+2021-06-29  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * frame.h (FRAME_SCOPED_DEBUG_ENTER_EXIT): New.
+       * frame.c (compute_frame_id, get_prev_frame_always_1,
+       get_prev_frame): Use FRAME_SCOPED_DEBUG_ENTER_EXIT.
+       * frame-unwind.c (frame_unwind_find_by_frame): Likewise.
+       (frame_unwind_register_value): Likewise.
+
+2021-06-29  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * frame-unwind.h (struct frame_unwind) <name>: New.  Update
+       instances everywhere to include this field.
+       * frame-unwind.c (frame_unwind_try_unwinder,
+       frame_unwind_find_by_frame): Add debug messages.
+
+2021-06-29  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * frame.h (frame_debug_printf): New.
+       * frame.c: Use frame_debug_printf throughout when printing frame
+       debug messages.
+       * amd64-windows-tdep.c: Likewise.
+       * value.c: Likewise.
+
+2021-06-29  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * frame.h (frame_debug): Change type to bool.
+       * frame.c (frame_debug): Change type to bool.
+       (_initialize_frame): Adjust.
+
+2021-06-29  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdbthread.h (find_thread_ptid): Remove the duplicate declaration.
+
+2021-06-28  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR gdb/28017
+       * machoread.c (macho_symfile_offsets): Use
+       gdb_bfd_count_sections to allocate objfile::section_offsets.
+
+2021-06-28  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * objfiles.h (struct obj_section): Move down.
+       <offset, set_offset, addr, endaddr>: New.
+       (obj_section_offset, obj_section_addr, obj_section_endaddr),
+       replace all users to use obj_section methods.
+       (struct objfile) <section_offset, set_section_offset>: New.
+
+2021-06-28  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * objfiles.h (struct obj_section): Move down.
+       <offset, set_offset, addr, endaddr>: New.
+       (obj_section_offset, obj_section_addr, obj_section_endaddr),
+       replace all users to use obj_section methods.
+       (struct objfile) <section_offset, set_section_offset>: New.
+
+2021-06-28  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * .flake8: New.
+
+2021-06-28  Luis Machado  <luis.machado@linaro.org>
+
+       * aarch64-linux-tdep.c (aarch64_linux_memtag_matches_p): Remove the top
+       byte.
+       (aarch64_linux_set_memtags): Likewise.
+       (aarch64_linux_get_memtag): Likewise.
+       (aarch64_linux_report_signal_info): Likewise.
+
+2021-06-28  Luis Machado  <luis.machado@linaro.org>
+
+       * aarch64-linux-tdep.c
+       (aarch64_linux_iterate_over_regset_sections): Fix FFR register size.
+
+2021-06-28  Luis Machado  <luis.machado@linaro.org>
+
+       * aarch64-linux-tdep.c
+       (aarch64_linux_iterate_over_regset_sections): Update tag_ctl register
+       size.
+       * aarch64-linux-tdep.h (AARCH64_LINUX_SIZEOF_MTE_REGSET): Set to
+       8 and update comments.
+
+2021-06-28  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdbarch.sh (struct gdbarch_info): Initialize fields, add
+       constructor.
+       * gdbarch.h: Re-generate.
+       * arch-utils.h (gdbarch_info_init): Remove, delete all usages.
+       * arch-utils.c (gdbarch_info_init): Remove.
+
+2021-06-28  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdbarch.sh (struct gdbarch_info) <tdep_info>: Remove.
+       (gdbarch_find_by_info): Remove print.
+       * gdbarch.c, gdbarch.h: Re-generate.
+
+2021-06-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * remote.c (remote_target::start_remote): Set 'starting_up' using
+       boolean values instead of integers.
+
+2021-06-25  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * guile/scm-param.c (struct param_smob) <set_command,
+       show_command>: Remove.
+       <commands>: New.
+       (pascm_is_valid): Adjust.
+       (add_setshow_generic): Use return values of add_setshow
+       functions, return a set_show_commands.
+       (gdbscm_register_parameter_x): Adjust.
+
+2021-06-25  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * command.h (add_setshow_enum_cmd): Remove context parameter.
+       * cli/cli-decode.c (add_setshow_enum_cmd): Likewise, and don't
+       set context.
+       * cli/cli-style.c (cli_style_option::add_setshow_commands): Set
+       context here.
+
+2021-06-25  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * cli/cli-decode.h (struct cmd_list_element) <set_context>: Add
+       assert.
+
+2021-06-25  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * cli/cli-decode.h (struct cmd_list_element) <set_context,
+       context>: New.
+       <context>: Rename to...
+       <m_context>: ... this.
+       * cli/cli-decode.c (set_cmd_context, get_cmd_context): Remove.
+       * command.h (set_cmd_context, get_cmd_context): Remove, use
+       cmd_list_element::set_context and cmd_list_element::context
+       everywhere instead.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention changes to 'info sources'.
+       * symtab.c (info_sources_filter::print): Delete.
+       (struct output_source_filename_data) <print_header>: Delete
+       declaration.  <printed_filename_p>: New member function.
+       (output_source_filename_data::print_header): Delete.
+       (info_sources_worker): Update group-by-objfile style output to
+       make it CLI suitable, simplify non-group-by-objfile now this is
+       only used from the MI.
+       (info_sources_command): Make group-by-objfile be the default for
+       CLI info sources command.
+       * symtab.h (struct info_sources_filter) <print>: Delete.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention additions to -file-list-exec-source-files.
+       * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Add
+       --group-by-objfile option.
+       * symtab.c (isrc_flag_option_def): Rename to...
+       (isrc_match_flag_option_def): ...this.
+       (info_sources_option_defs): Rename to...
+       (info_sources_match_option_defs): ...this, and update to rename of
+       isrc_flag_option_def.
+       (struct filename_grouping_opts): New struct.
+       (isrc_grouping_flag_option_def): New type.
+       (info_sources_grouping_option_defs): New static global.
+       (make_info_sources_options_def_group): Update to return two option
+       groups.
+       (info_sources_command_completer): Update for changes to
+       make_info_sources_options_def_group.
+       (info_sources_worker): Add extra parameter, use this to display
+       alternative output format.
+       (info_sources_command): Pass extra parameter to
+       info_sources_worker.
+       (_initialize_symtab): Update for changes to
+       make_info_sources_options_def_group.
+       * symtab.h (info_sources_worker): Add extra parameter.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention additions to -file-list-exec-source-files.
+       * mi/mi-cmd-file.c (print_partial_file_name): Delete.
+       (mi_cmd_file_list_exec_source_files): Rewrite to handle command
+       options, and make use of info_sources_worker.
+       * symtab.c (struct info_sources_filter): Moved to symtab.h.
+       (info_sources_filter::print): Take uiout argument, produce output
+       through uiout.
+       (struct output_source_filename_data)
+       <output_source_filename_data>: Take uiout argument, store into
+       m_uiout.  <output>: Rewrite comment, add additional arguments to
+       declaration.  <operator()>: Send more arguments to
+       output. <m_uiout>: New member variable.
+       (output_source_filename_data::output): Take extra arguments,
+       produce output through m_uiout, and structure for MI.
+       (output_source_filename_data::print_header): Produce output
+       through m_uiout.
+       (info_sources_worker): New function, the implementation is taken
+       from info_sources_command, but modified so produce output through
+       a ui_out.
+       (info_sources_command): The second half of this function has gone
+       to become info_sources_worker.
+       * symtab.h (struct info_sources_filter): Moved from symtab.c, add
+       extra parameter to print member function.
+       (info_sources_worker): Declare.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * symtab.c (struct info_sources_filter): New.
+       (info_sources_filter::info_sources_filter): New function.
+       (info_sources_filter::matches): New function.
+       (info_sources_filter::print): New function.
+       (struct filename_partial_match_opts): Moved to later in the file
+       and update the comment.
+       (struct output_source_filename_data)
+       <output_source_filename_data>: New constructor.  <regexp>: Delete,
+       this is now in info_sources_filter.  <c_regexp>: Delete, this is
+       now in info_sources_filter.  <reset_output>: New member function.
+       <filename_seen_cache>: Rename to m_filename_seen_cache, change
+       from being a pointer, to being an actual object.  <first>: Rename
+       to m_first.  <print_header>: New member function. <partial_match>:
+       Delete.
+       (output_source_filename_data::output): Update now
+       m_filename_seen_cache is no longer a pointer, and for other member
+       variable name changes. Add a header comment.
+       (print_info_sources_header): Renamed to...
+       (output_source_filename_data::print_header): ...this.  Update now
+       it's a member function and to take account of member variable
+       renaming.
+       (info_sources_command): Add a header comment, delete stack local
+       filename_seen_cache, initialization of output_source_filename_data
+       is now done by the constructor.  Call print_header member function
+       instead of print_info_sources_header, call reset_output member
+       function instead of manually performing the reset.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * dwarf2/read.c (struct dwarf2_base_index_functions)
+       <has_unexpanded_symtabs>: Declare.
+       (dwarf2_base_index_functions::has_unexpanded_symtabs): Define new
+       function.
+       * objfiles.h (struct objfile) <has_unexpanded_symtabs>: Declare.
+       * psympriv.h (struct psymbol_functions) <has_unexpanded_symtabs>:
+       Declare.
+       * psymtab.c (psymbol_functions::has_unexpanded_symtabs): Define
+       new function.
+       * quick-symbol.h (struct quick_symbol_functions)
+       <has_unexpanded_symtabs>: Declare.
+       * symfile-debug.c (objfile::has_unexpanded_symtabs): Define new
+       function.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * infcall.c (call_function_by_hand_dummy): Add missing 'else' when
+       setting prototyped flag.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (desc_bounds): Use '{}' instead of NULL to indicate
+       an empty gdb::optional when calling value_struct_elt.
+       (desc_data): Likewise.
+       (desc_one_bound): Likewise.
+       * eval.c (structop_base_operation::evaluate_funcall): Pass
+       gdb::array_view, not a gdb::array_view* to value_struct_elt.
+       (eval_op_structop_struct): Use '{}' instead of NULL to indicate
+       an empty gdb::optional when calling value_struct_elt.
+       (eval_op_structop_ptr): Likewise.
+       * f-lang.c (fortran_structop_operation::evaluate): Likewise.
+       * guile/scm-value.c (gdbscm_value_field): Likewise.
+       * m2-lang.c (eval_op_m2_high): Likewise.
+       (eval_op_m2_subscript): Likewise.
+       * opencl-lang.c (opencl_structop_operation::evaluate): Likewise.
+       * python/py-value.c (valpy_getitem): Likewise.
+       * rust-lang.c (rust_val_print_str): Likewise.
+       (rust_range): Likewise.
+       (rust_subscript): Likewise.
+       (eval_op_rust_structop): Likewise.
+       (rust_aggregate_operation::evaluate): Likewise.
+       * valarith.c (value_user_defined_op): Likewise.
+       * valops.c (search_struct_method): Change parameter type, update
+       function body accordingly, and update header comment.
+       (value_struct_elt): Change parameter type, update function body
+       accordingly.
+       * value.h (value_struct_elt): Update declaration.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR gdb/27994
+       * eval.c (structop_base_operation::evaluate_funcall): Pass
+       array_view instead of array to value_struct_elt.
+       * valarith.c (value_user_defined_op): Likewise.
+       * valops.c (typecmp): Change parameter type from array pointer to
+       array_view.  Update header comment, and update body accordingly.
+       (search_struct_method): Likewise.
+       (value_struct_elt): Likewise.
+       * value.h (value_struct_elt): Update declaration.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR gdb/27994
+       * eval.c (structop_base_operation::evaluate_funcall): Add a
+       nullptr to the end of the args array, which should not be included
+       in the argument array_view.  Pass all the arguments through to
+       value_struct_elt.
+       * valops.c (search_struct_method): Update header comment.
+       (value_struct_elt): Likewise.
+
+2021-06-25  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.c (create_addrmap_from_aranges): Change padding
+       logic.
+
+2021-06-25  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.c (process_psymtab_comp_unit): Don't set 'lang'.
+       (scan_partial_symbols, partial_die_parent_scope)
+       (add_partial_symbol, add_partial_subprogram)
+       (compute_delayed_physnames, rust_union_quirks)
+       (process_full_comp_unit, process_full_type_unit)
+       (process_imported_unit_die, process_die, dw2_linkage_name)
+       (dwarf2_compute_name, dwarf2_physname, read_import_statement)
+       (read_file_scope, queue_and_load_dwo_tu, read_func_scope)
+       (read_variable, dwarf2_get_subprogram_pc_bounds)
+       (dwarf2_attach_fields_to_type, dwarf2_add_member_fn)
+       (dwarf2_attach_fn_fields_to_type)
+       (quirk_ada_thick_pointer_struct, read_structure_type)
+       (handle_struct_member_die, process_structure_scope)
+       (read_array_type, read_array_order, prototyped_function_p)
+       (read_subroutine_type, dwarf2_init_complex_target_type)
+       (read_base_type, read_subrange_type, read_unspecified_type)
+       (load_partial_dies, partial_die_info::fixup, set_cu_language)
+       (new_symbol, need_gnat_info, determine_prefix, typename_concat)
+       (dwarf2_canonicalize_name, follow_die_offset)
+       (prepare_one_comp_unit): Update.
+       * dwarf2/cu.c (dwarf2_cu::start_symtab): Update.
+
+2021-06-25  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.c (read_file_scope): Don't call set_cu_language.
+       (dwarf_lang_to_enum_language): Rename from set_cu_language.  Don't
+       set language_defn.  Handle DW_LANG_OpenCL.
+       (prepare_one_comp_unit): Check producer and set language_defn.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention Python BP_CATCHPOINT feature.
+       * python/py-breakpoint.c (pybp_codes): Add bp_catchpoint support.
+       (bppy_init): Likewise.
+       (gdbpy_breakpoint_created): Likewise.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * guile/scm-breakpoint.c (bpscm_type_to_string): Handle
+       bp_catchpoint.
+       (bpscm_want_scm_wrapper_p): Likewise.
+       (gdbscm_make_breakpoint): Likewise.
+       (breakpoint_integer_constants): Likewise.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * guile/scm-breakpoint.c (gdbscm_make_breakpoint): Split the error
+       for invalid breakpoint numbers, and unsupported breakpoint
+       numbers.
+
+2021-06-25  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/index-write.c (struct addrmap_index_data): Add
+       initializers.
+       <operator()>: Declare.
+       (addrmap_index_data::operator()): Rename from
+       add_address_entry_worker.  Remove 'datap' parameter.
+       (write_address_map): Update.
+       * psymtab.c (struct dump_psymtab_addrmap_data): Remove
+       (dump_psymtab_addrmap_1): Remove 'data' parameter, add other
+       parameters.
+       (dump_psymtab_addrmap): Update.
+       * addrmap.c (struct addrmap_funcs) <foreach>: Remove 'data'
+       parameter.
+       (addrmap_foreach, addrmap_fixed_foreach): Likewise.
+       (struct mutable_foreach_data): Remove.
+       (addrmap_mutable_foreach_worker): Update.
+       (addrmap_mutable_foreach): Remove 'data' parameter.
+       * addrmap.h (addrmap_foreach_fn): Use gdb::function_view.
+       (addrmap_foreach): Remove 'data' parameter.
+
+2021-06-25  Tom Tromey  <tromey@adacore.com>
+
+       * python/py-type.c (typy_get_name): Decode an Ada type name.
+
+2021-06-25  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.c (ada_decode): Add wrap parameter.
+       * ada-lang.h (ada_decode): Add wrap parameter.
+
+2021-06-25  Luis Machado  <luis.machado@linaro.org>
+
+       * corelow.c (core_target::core_target) Update to read target
+       description.
+
+2021-06-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * python/lib/gdb/__init__.py: Format.
+
+2021-06-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * infrun.c (do_target_wait): Remove wait_ptid parameter.
+       (fetch_inferior_event): Adjust.
+
+2021-06-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * python/lib/gdb/__init__.py (_execute_unwinders): Return tuple
+       with name of chosen unwinder.
+       * python/py-unwind.c (pyuw_sniffer): Print name of chosen
+       unwinder in debug message.
+
+2021-06-22  Andreas Schwab  <schwab@suse.de>
+
+       PR symtab/27999
+       * dwarf2/loc.c (decode_debug_loclists_addresses): Support
+       DW_LLE_start_end.
+
+2021-06-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * breakpoint.c (insert_bp_location): If we catch a
+       TARGET_CLOSE_ERROR just rethrow it, the breakpoints might have
+       been deleted.
+
+2021-06-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention new target feature name.
+       * arch/riscv.c (riscv_create_target_description): GDB doesn't
+       currently create target descriptions containing vector registers.
+       * arch/riscv.h (struct riscv_gdbarch_features) <vlen>: New member
+       variable.
+       <operator==>: Also compare vlen.
+       <hash>: Also include vlen.
+       * riscv-tdep.c (riscv_feature_name_vector): New static global.
+       (struct riscv_vector_feature): New struct.
+       (riscv_vector_feature): New static global.
+       (riscv_register_reggroup_p): Ensure vector registers are part of
+       the 'all' group, and part of the 'vector' group.
+       (riscv_dwarf_reg_to_regnum): Handle vector registers.
+       (riscv_gdbarch_init): Check vector register feature.
+       * riscv-tdep.h: Add vector registers to GDB's internal register
+       numbers, and to the DWARF register numbers.
+
+2021-06-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention the two new methods.
+       * python/py-frame.c (frapy_level): New function.
+       (frame_object_methods): Register 'level' method.
+       * python/py-unwind.c (pending_framepy_level): New function.
+       (pending_frame_object_methods): Register 'level' method.
+
+2021-06-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * python/py-inferior.c (infpy_get_connection_num): Call
+       gdb_py_object_from_longest instead of PyLong_FromLong directly.
+
+2021-06-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * python/py-unwind.c (unwind_infopy_add_saved_register): Handle
+       saving user registers.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4: Delete most m4_include's of ../config files.
+       * configure.ac: Delete m4_include call and call AC_CONFIG_MACRO_DIR.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-17  Pedro Alves  <pedro@palves.net>
+
+       * scoped_ignore_signal.h (scoped_ignore_signal): Add
+       ConsumePending template parameter.
+       (scoped_ignore_signal::~scoped_ignore_signal): Skip calling
+       sigtimedwait if ConsumePending is false.
+       (scoped_ignore_sigpipe): Initialize with ConsumePending=true.
+       * scoped_ignore_sigttou.h (scoped_ignore_sigttou)
+       <m_ignore_signal>: Initialize with ConsumePending=false.
+
+2021-06-17  Pedro Alves  <pedro@palves.net>
+
+       * Makefile.in (SELFTESTS_SRCS): Add
+       unittests/scoped_ignore_signal-selftests.c.
+       * unittests/scoped_ignore_signal-selftests.c: New.
+
+2021-06-17  Pedro Alves  <pedro@palves.net>
+
+       * gdbsupport/scoped_ignore_signal.h: New.
+       * compile/compile.c: Include gdbsupport/scoped_ignore_signal.h
+       instead of <signal.h>.  Don't include <unistd.h>.
+       (scoped_ignore_sigpipe): Remove.
+       * gdbsupport/scoped_ignore_sigttou.h: Include gdbsupport/scoped_ignore_signal.h
+       instead of <signal.h>.  Don't include <unistd.h>.
+       (lazy_init): New.
+       (scoped_ignore_sigttou): Reimplement using scoped_ignore_signal
+       and lazy_init.
+
+2021-06-17  Pedro Alves  <pedro@palves.net>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Remove inflow.h.
+       * inf-ptrace.c, inflow.c, procfs.c: Don't include "inflow.h".
+       * inflow.h: Delete, moved to gdbsupport/ under a different name.
+       * ser-unix.c: Don't include "inflow.h".  Include
+       "gdbsupport/scoped_ignore_sigttou.h".
+
+2021-06-17  Pedro Alves  <pedro@palves.net>
+
+       * tui/tui-io.c (tui_dispatch_mouse_event): New, factored out from
+       ...
+       (tui_dispatch_ctrl_char): ... this.  Move CTRL-L handling to
+       tui_getc_1.
+       (cur_seq, start_sequence): New.
+       (tui_getc_1): Pass key escape sequences for curses control keys to
+       readline.  Handle mouse and ctrl-l here.
+       (tui_resize_all): Disable/reenable the keypad if the command
+       window has the focus too.
+       * tui/tui-win.c (tui_set_focus_command): Don't change keypad
+       setting.
+       * tui/tui.c (tui_rl_other_window): Don't change keypad setting.
+
+2021-06-16  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * silent-rules.mk (ECHO_CCLD, ECHO_AR, ECHO_RANLIB): New.
+
+2021-06-16  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/26327
+       * dwarf2/cu.h (dwarf2_cu::ancestor): Remove.
+       (dwarf2_cu::get_builder): Declare and move ...
+       * dwarf2/cu.c (dwarf2_cu::get_builder): ... here.  Use sym_cu instead
+       of ancestor.  Assert return value is non-null.
+       * dwarf2/read.c (read_file_scope): Set per_objfile->sym_cu.
+       (follow_die_offset, follow_die_sig_1): Remove setting of ancestor.
+       (dwarf2_per_objfile): Add sym_cu field.
+
+2021-06-15  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/gdb.exp (exec_is_pie): Match new PIE readelf output.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (GNULIB_BUILDDIR): Rename to ...
+       (GNULIB_PARENT_DIR): ... this.  Remove "gnulib" from value.
+
+2021-06-14  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure.ac: Check for <sys/procctl.h>.
+       * config.in, configure: Regenerate.
+       * fbsd-nat.c: Include <sys/procctl.h> if present.
+       [PROC_ASLR_CTL] (maybe_disable_address_space_randomization): New.
+       (fbsd_nat_target::create_inferior)
+       (fbsd_nat_target::supports_disable_randomization): New.
+       * fbsd-nat.h (fbsd_nat_target::create_inferior)
+       (fbsd_nat_target::supports_disable_randomization): New.
+
+2021-06-14  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * compile/compile.c: Include missing header signal.h.
+
+2021-06-12  John Baldwin  <jhb@FreeBSD.org>
+
+       * remote.c (remote_new_objfile): Fix indentation.
+
 2021-06-11  Kevin Buettner  <kevinb@redhat.com>
 
        * solib.c (libpthread_name_p): Match "libc" in addition
        identifiers.
        (rust_lex_tests): Add raw identifier tests.
 
-2021-06-10  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * lib/gdb.exp (default_gdb_exit): Unset gdb_tty_name.
-       (spawn_capture_tty_name): New, override builtin spawn.
-       (default_gdb_spawn): Capture GDB's TTY name.
-       * lib/tuiterm.exp (tuiterm_spawn): Remove.
-       (tuiterm_env_init, tuiterm_env_finish): Remove spawn override.
-       (Term) <resize>: Use new variable name.
-       (tuiterm_env_init, tuiterm_env_finish): Remove.
-       (tuiterm_env): Don't call tuiterm_env_init and register
-       tuiterm_env_finish in gdb_finish_hooks.
-       (gdb_finish_hooks): Remove.
-       (gdb_finish): Don't call finish hooks.
-
 2021-06-08  Lancelot Six  <lsix@lancelotsix.com>
 
        * python/lib/gdb/FrameDecorator.py (FrameDecorator): Use 'is None'
This page took 0.031059 seconds and 4 git commands to generate.