Update release tools with libctf support.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 2867d2488ef1ff2d4db001d06e10e873cf210e86..f122f5b21f56a643fea6dddbe0f6d95167b1ec3e 100644 (file)
@@ -1,3 +1,469 @@
+2019-05-28  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.c (ada_remove_Xbn_suffix)
+       (find_old_style_renaming_symbol)
+       (parse_old_style_renaming): Remove.
+       (ada_find_renaming_symbol): Don't call
+       find_old_style_renaming_symbol.
+       (ada_is_renaming_symbol): Rename from
+       ada_find_renaming_symbol.  Remove "block" parameter.  Return
+       bool.  Now static.
+       (ada_read_var_value): Update and simplify.
+       * ada-exp.y (write_var_or_type): Remove old code.
+
+2019-05-28  Alan Hayward  <alan.hayward@arm.com>
+
+       * event-top.c: Remove include comment.
+       * inflow.c (class scoped_ignore_sigttou): Move from here...
+       * inflow.h (class scoped_ignore_sigttou): ...to here.
+       * ser-unix.c (hardwire_drain_output): Block SIGTTOU during drain.
+       * top.c:  Remove include comment.
+
+2019-05-27  Tom Tromey  <tom@tromey.com>
+
+       * NEWS: Fix typo.
+
+2019-05-22  Tom Tromey  <tromey@adacore.com>
+
+       * target.c (target_follow_exec): Constify parameter.
+       * target-delegates.c: Rebuild.
+       * remote.c (remote_target::follow_exec): Constify parameter.
+       * infrun.c (follow_exec): Constify parameter.
+       * target.h (struct target_ops) <follow_exec>: Constify parameter.
+       (target_follow_exec): Likewise.
+
+2019-05-22  Alan Hayward  <alan.hayward@arm.com>
+
+       * aarch64-tdep.c (aarch64_execute_dwarf_cfa_vendor_op): Treat
+       DW_CFA_AARCH64_negate_ra_state as nop on non pauth targets.
+
+2019-05-22  Alan Hayward  <alan.hayward@arm.com>
+
+       * NEWS: Add debugredirect and testsuite sections.
+
+2019-05-22  Simon Cook  <simon.cook@embecosm.com>
+
+       * riscv-tdep.c (riscv_gdbarch_init): Support determining flen from
+       target descriptions using exclusively floating point register name
+       aliases.
+
+2019-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR gdb/18644:
+       * f-lang.c (build_fortran_types): Handle the case where
+       gdbarch_floatformat_for_type returns a nullptr.
+
+2019-05-21  Tom de Vries  <tdevries@suse.de>
+
+       PR cli/24587
+       * cli/cli-cmds.c (complete_command): Fix use of unitialized variable.
+
+2019-05-18  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR gdb/18644:
+       * f-lang.c (build_fortran_types): Use floatformats_ia64_quad for
+       16-byte floats.
+       * i386-tdep.c (i386_floatformat_for_type): Use
+       floatformats_ia64_quad for the 16-byte floating point component
+       within a fortran 32-byte complex number.
+
+2019-05-18  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * dwarf2read.c (struct cu_partial_die_info): Add constructor,
+       delete default constructor.
+       (find_partial_die): Update to return const struct.
+       (partial_die_parent_scope): Move variable declaration into scope
+       of its use and change its type to auto.
+       (guess_partial_die_structure_name): Likewise.
+       (partial_die_info::fixup): Likewise.
+
+2019-05-17  Tom Tromey  <tromey@adacore.com>
+
+       * source.c (find_and_open_source): Remove cast.
+
+2019-05-17  Tom Tromey  <tromey@adacore.com>
+
+       * annotate.c (annotate_source): Make "filename" const.
+       * annotate.h (annotate_source): Use const.
+
+2019-05-17  Alan Hayward  <alan.hayward@arm.com>
+
+       * disasm.c (set_disassembler_options): Send errors to stderr.
+
+2019-05-17  Alan Hayward  <alan.hayward@arm.com>
+
+       * cli/cli-interp.c (struct saved_output_files): Add saved entry.
+       (cli_interp_base::set_logging): Check debug_redirect.
+       * cli/cli-interp.h (set_logging): Add debug_redirect parameter.
+       * cli/cli-logging.c (debug_redirect): Add static variable.
+       (pop_output_files): Add default param.
+       (handle_redirections): Print debug setting.
+       (show_logging_command): Likewise.
+       (_initialize_cli_logging): Add debugredirect command.
+       * interps.c (current_interp_set_logging): Add debug_redirect
+       parameter.
+       * interps.h (set_logging): Add debug_redirect parameter.
+       (current_interp_set_logging): Likewise.
+       * mi/mi-common.h: Likewise.
+       * mi/mi-interp.c (mi_interp::set_logging): Likewise.
+
+2019-05-17  Alan Hayward  <alan.hayward@arm.com>
+           Tom Tromey  <tromey@adacore.com>
+
+       * cli/cli-interp.c (cli_interp_base::set_logging): Create tee_file
+       directly.
+       * cli/cli-interp.h (make_logging_output): Remove declaration.
+       * cli/cli-logging.c (make_logging_output): Remove function.
+       * mi/mi-interp.c (mi_interp::set_logging): Create tee_file
+       directly.
+       * ui-file.c (tee_file::tee_file): Remove bools.
+       (tee_file::~tee_file): Remove deletes.
+       * ui-file.h (tee_file): Remove bools.
+
+2019-01-28  Jan Vrany  <jan.vrany@fit.cvut.cz>
+
+       * mi/mi-cmds.h (mi_cmd_complete): New function.
+       * mi/mi-main.c (mi_cmd_complete): Likewise.
+       * mi/mi-cmds.c: Define new MI command -complete.
+       * NEWS: Mention new -complete command.
+
+2019-01-24  Jan Vrany  <jan.vrany@fit.cvut.cz>
+
+       * completer.h (complete): New function.
+       * completer.c (complete): Likewise.
+       * cli/cli-cmds.c: (complete_command): Update to use new complete()
+       function defined in completer.h.
+
+2019-05-17  Jan Vrany  <jan.vrany@fit.cvut.cz>
+
+       * MAINTAINERS (Write After Approval): Add myself.
+
+2019-05-17  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/24094
+       * dwarf2read.c (struct cu_partial_die_info): New struct.
+       (find_partial_die): Return cu_partial_die_info.
+       (partial_die_parent_scope, guess_partial_die_structure_name)
+       (partial_die_info::fixup): Handle new return type of find_partial_die.
+
+2019-05-16  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * stap-probe.c (stap_parse_register_operand): Make "regname" an
+       "std::string", simplifying the algorithm.
+
+2019-05-16  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * stap-probe.c (handle_stap_probe): Fix complaint formatting.
+       (stap_static_probe_ops::get_probes): Likewise.
+
+2019-05-16  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * stap-probe.c (stap_parse_register_operand): Make "if (*p->arg ==
+       '-')" and "else if".
+       (stap_parse_single_operand): Join checks for
+       "gdbarch_stap_parse_special_token_p" and
+       "gdbarch_stap_parse_special_token" in the same "if" statement.
+       Invert check when verifying for operation on register
+       displacement.
+
+2019-05-16  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * stap-probe.c (stap_get_opcode): Update comment.
+       (stap_get_expected_argument_type): Likewise.
+       (handle_stap_probe): Likewise.
+
+2019-05-16  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * i386-tdep.c (i386_stap_parse_special_token_triplet): Change
+       return type to 'bool'.  Adjust comment.  Use 'bool' when
+       appropriate.
+       (i386_stap_parse_special_token_three_arg_disp): Likewise.
+       * stap-probe.c (stap_parse_argument_1): Likewise.
+       (stap_is_operator): Likewise.
+       (stap_is_generic_prefix): Likewise.
+       (stap_is_register_prefix): Likewise.
+       (stap_is_register_indirection_prefix): Likewise.
+       (stap_is_integer_prefix): Likewise.
+       (stap_generic_check_suffix): Likewise.
+       (stap_check_integer_suffix): Likewise.
+       (stap_check_register_suffix): Likewise.
+       (stap_check_register_indirection_suffix): Likewise.
+       (stap_parse_register_operand): Likewise.
+       (stap_parse_single_operand): Likewise.
+       (stap_parse_argument_1): Likewise.
+       (stap_probe::get_argument_count): Likewise.
+       (stap_is_operator): Likewise.
+
+2019-05-16  Tom Tromey  <tromey@adacore.com>
+
+       * darwin-nat.c (thread_info_from_private_thread_info): Add struct
+       keyword to foreach.
+
+2019-05-15  Simon Marchi  <simon.marchi@efficios.com>
+
+       * linux-thread-db.c (try_thread_db_load_1): Change return type
+       to bool.
+       (try_thread_db_load): Likewise.
+       (try_thread_db_load_from_pdir_1): Likewise.
+       (try_thread_db_load_from_pdir): Likewise.
+       (try_thread_db_load_from_sdir): Likewise.
+       (try_thread_db_load_from_dir): Likewise.
+       (thread_db_load_search): Likewise.
+       (has_libpthread): Likewise.
+       (thread_db_load): Likewise.
+
+2019-05-15  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       Ref.: https://bugzilla.redhat.com/show_bug.cgi?id=1708192
+       * dwarf2read.c (parse_macro_definition): Check whether 'body' is
+       NULL, and complain/return if that's the case.
+
+2019-05-15  John Darrington <john@darrington.wattle.id.au>
+
+       * s12z-tdep.c (push_pull_get_stack_adjustment): New function.
+       (advance, posn, abstract_read_memory): New functions.
+       [struct mem_read_abstraction]: New struct.
+       (s12z_frame_cache): Use opcodes API to interpret stack frame code.
+
+2019-05-14  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.c (coerce_unspec_val_to_type): Only set address when
+       value is not lval_memory.
+
+2019-05-14  Tom Tromey  <tromey@adacore.com>
+
+       * solib.c (info_sharedlibrary_command): Style the file name.
+
+2019-05-14  Alan Hayward  <alan.hayward@arm.com>
+
+       * aarch64-tdep.c (aarch64_vnh_type): Add half view.
+       (aarch64_vnv_type): Likewise.
+       * target-descriptions.c (make_gdb_type): Add TDESC_TYPE_IEEE_HALF.
+       * common/tdesc.c: Likewise.
+       * common/tdesc.h (enum tdesc_type_kind): Likewise.
+       * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerate.
+       * features/aarch64-fpu.xml: Add ieee half view.
+       * features/aarch64-sve.c (create_feature_aarch64_fpu): Likewise.
+       * gdbtypes.c (gdbtypes_post_init): Add builtin_half
+       * gdbtypes.h (struct builtin_type): Likewise.
+       (struct objfile_type): Likewise.
+
+2019-05-12  Paul Naert  <paul.naert@polymtl.ca>
+
+       * language.c (language_sniff_from_mangled_name): Fix "langauge"
+       typo.
+       * location.h (string_to_event_location): Likewise.
+
+2019-05-11  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 8.3 released.
+
+2019-05-10  Simon Marchi  <simon.marchi@efficios.com>
+
+       * breakpoint.h (fix_multi_location_breakpoint_output_globally):
+       New variable declaration.
+       * breakpoint.c (fix_multi_location_breakpoint_output_globally):
+       New variable.
+       (print_one_breakpoint): Use ui_out::test_flags and new global
+       variable to compute use_fixed_output.
+       * mi/mi-main.h (mi_multi_location_breakpoint_output_fixed):
+       Remove.
+       * mi/mi-main.c (fix_multi_location_breakpoint_output): Remove.
+       (mi_multi_location_breakpoint_output_fixed): Remove.
+       (mi_cmd_fix_multi_location_breakpoint_output): Adjust to set the
+       new variable.
+       * mi/mi-out.c (mi_ui_out::mi_ui_out): Set
+       fix_multi_location_breakpoint_output flag if version >= 3.
+       * ui-out.h (enum ui_out_flag)
+       <fix_multi_location_breakpoint_output>: New enumerator.
+
+2019-05-10  Simon Marchi  <simon.marchi@efficios.com>
+
+       * contrib/cc-with-tweaks.sh: Validate dwz's work.
+
+2019-05-10  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.c (catch_ada_completer): New function.
+       (_initialize_ada_language): Use it.
+
+2019-05-10  Tom Tromey  <tromey@adacore.com>
+
+       * thread.c (print_thread_info): Make "requested_threads" const.
+       * gdbthread.h (print_thread_info): Make "requested_threads"
+       const.
+       * ada-tasks.c (print_ada_task_info): Make "taskno_str" const.
+       * ada-lang.h (print_ada_task_info): Make "taskno_str" const.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * gdbtypes.c (objfile_type_data): Change type.
+       (objfile_type, _initialize_gdbtypes): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2-frame.c (dwarf2_frame_objfile_data): Change type.
+       (dwarf2_frame_find_fde, dwarf2_build_frame_info)
+       (_initialize_dwarf2_frame): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * objc-lang.c (objc_objfile_data): Change type.
+       (find_methods): Update.
+       (_initialize_objc_lang): Remove.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * stabsread.c (rs6000_builtin_type_data): Change type.
+       (rs6000_builtin_type, _initialize_stabsread): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * mips-tdep.c (mips_pdr_data): Remove.
+       (_initialize_mips_tdep): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * hppa-tdep.c (hppa_objfile_priv_data): Change type.
+       (hppa_init_objfile_priv_data, read_unwind_info)
+       (find_unwind_entry, _initialize_hppa_tdep): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * elfread.c (elf_objfile_gnu_ifunc_cache_data): Change type.
+       (elf_gnu_ifunc_record_cache): Update.  Don't allocate hash table
+       on obstack.
+       (elf_gnu_ifunc_resolve_by_cache, _initialize_elfread): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * mdebugread.c (basic_type_data): Change type.
+       (basic_type, _initialize_mdebugread): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * common/gdb_unique_ptr.h (struct noop_deleter): New.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * nto-tdep.c (nto_inferior_data_reg): Change type.
+       (nto_inferior_data): Update.
+       (nto_inferior_data_cleanup, nto_new_inferior_data)
+       (_initialize_nto_tdep): Remove.
+       * nto-tdep.h (struct nto_inferior_data): Add initializers.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (struct ada_inferior_data): Add initializers.
+       (ada_inferior_data): Change type.
+       (ada_inferior_data_cleanup): Remove.
+       (get_ada_inferior_data, ada_inferior_exit)
+       (struct ada_pspace_data): Add initializers, destructor.
+       (ada_pspace_data_handle): Change type.
+       (get_ada_pspace_data): Update.
+       (ada_pspace_data_cleanup): Remove.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * coffread.c (struct coff_symfile_info): Add initializers.
+       (coff_objfile_data_key): Move lower.  Change type.
+       (coff_symfile_init, coff_symfile_read, _initialize_coffread):
+       Update.
+       (coff_free_info): Remove.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * fbsd-tdep.c (struct fbsd_pspace_data): Add initializers.
+       (fbsd_pspace_data_handle): Move lower.  Change type.
+       (get_fbsd_pspace_data): Update.
+       (fbsd_pspace_data_cleanup): Remove.
+       (_initialize_fbsd_tdep): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-tasks.c (ada_tasks_pspace_data_handle): Change type.
+       (get_ada_tasks_pspace_data): Update.
+       (ada_tasks_pspace_data_cleanup): Remove.
+       (_initialize_tasks): Update.
+       (ada_tasks_inferior_data_handle): Change type.
+       (get_ada_tasks_inferior_data): Update.
+       (ada_tasks_inferior_data_cleanup): Remove.
+       (struct ada_tasks_pspace_data): Add initializers.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * symfile.h (struct sym_probe_fns) <sym_get_probes>: Change type.
+       * symfile-debug.c (debug_sym_get_probes): Change type.
+       * stap-probe.c (handle_stap_probe):
+       (stap_static_probe_ops::get_probes): Change type.
+       * probe.h (class static_probe_ops) <get_probes>: Change type.
+       * probe.c (class any_static_probe_ops) <get_probes>: Change type.
+       (parse_probes_in_pspace): Update.
+       (find_probes_in_objfile, find_probe_by_pc, collect_probes):
+       Update.
+       (any_static_probe_ops::get_probes): Change type.
+       * elfread.c (elfread_data): New typedef.
+       (probe_key): Change type.
+       (elf_get_probes): Likewise.  Update.
+       (probe_key_free): Remove.
+       (_initialize_elfread): Update.
+       * dtrace-probe.c (class dtrace_static_probe_ops) <get_probes>:
+       Change type.
+       (dtrace_process_dof_probe, dtrace_process_dof)
+       (dtrace_static_probe_ops::get_probe): Change type.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * xcoffread.c (struct xcoff_symfile_info): Rename from
+       coff_symfile_info.  Add initializers.
+       (xcoff_objfile_data_key): Move lower.  Change type.
+       (XCOFF_DATA): Rewrite.
+       (xcoff_free_info): Remove.
+       (xcoff_symfile_init, _initialize_xcoffread, read_xcoff_symtab)
+       (read_symbol, read_symbol_lineno, find_linenos, init_stringtab)
+       (xcoff_initial_scan): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * solib-svr4.c (struct svr4_info): Add initializers and
+       destructor.
+       <probes_table>: Now an htab_up.
+       (solib_svr4_pspace_data): Change type.
+       (free_probes_table): Simplify.
+       (~svr4_info): Rename from svr4_pspace_data_cleanup.
+       (get_svr4_info, probes_table_htab_remove_objfile_probes)
+       (probes_table_remove_objfile_probes, register_solib_event_probe)
+       (solib_event_probe_at, svr4_update_solib_event_breakpoint)
+       (_initialize_svr4_solib): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * remote.c (remote_pspace_data): Change type.
+       (remote_pspace_data_cleanup): Remove.
+       (get_remote_exec_file, set_pspace_remote_exec_file)
+       (_initialize_remote): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * breakpoint.c (breakpoint_objfile_key): Change type.
+       (get_breakpoint_objfile_data): Update.
+       (free_breakpoint_objfile_data): Remove.
+       (_initialize_breakpoint): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * linux-tdep.c (struct linux_info): Add initializers.
+       (linux_inferior_data): Move.  Change type.
+       (invalidate_linux_cache_inf): Update.
+       (linux_inferior_data_cleanup): Remove.
+       (get_linux_inferior_data, _initialize_linux_tdep): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * auxv.c (auxv_inferior_data): Move.  Change type.
+       (auxv_inferior_data_cleanup): Remove.
+       (invalidate_auxv_cache_inf): Rewrite.
+       (get_auxv_inferior_data, _initialize_auxv): Update.
+
 2019-05-08  Tom Tromey  <tom@tromey.com>
 
        * symfile-debug.c (struct debug_sym_fns_data): Add initializers.
This page took 0.042533 seconds and 4 git commands to generate.