X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=2810fff012a84d2caff20363a9877d5d3f0866bf;hb=f3a09c800fcd1d597fa2b9578cb59adfc15b698d;hp=09a4a0af5adc776f80f348bb6653232ea2e4cab9;hpb=9d6d4be89d12747a92629ed1bde1d423e2831de1;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 09a4a0af5a..2810fff012 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,622 @@ +2019-05-14 Alan Hayward + Tom Tromey + + * 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 + + * 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 + + * 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 + + * MAINTAINERS (Write After Approval): Add myself. + +2019-05-17 Tom de Vries + + 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 + + * stap-probe.c (stap_parse_register_operand): Make "regname" an + "std::string", simplifying the algorithm. + +2019-05-16 Sergio Durigan Junior + + * stap-probe.c (handle_stap_probe): Fix complaint formatting. + (stap_static_probe_ops::get_probes): Likewise. + +2019-05-16 Sergio Durigan Junior + + * 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 + + * stap-probe.c (stap_get_opcode): Update comment. + (stap_get_expected_argument_type): Likewise. + (handle_stap_probe): Likewise. + +2019-05-16 Sergio Durigan Junior + + * 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 + + * darwin-nat.c (thread_info_from_private_thread_info): Add struct + keyword to foreach. + +2019-05-15 Simon Marchi + + * 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 + + 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 + + * 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 + + * ada-lang.c (coerce_unspec_val_to_type): Only set address when + value is not lval_memory. + +2019-05-14 Tom Tromey + + * solib.c (info_sharedlibrary_command): Style the file name. + +2019-05-14 Alan Hayward + + * 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 + + * language.c (language_sniff_from_mangled_name): Fix "langauge" + typo. + * location.h (string_to_event_location): Likewise. + +2019-05-11 Joel Brobecker + + GDB 8.3 released. + +2019-05-10 Simon Marchi + + * 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) + : New enumerator. + +2019-05-10 Simon Marchi + + * contrib/cc-with-tweaks.sh: Validate dwz's work. + +2019-05-10 Tom Tromey + + * ada-lang.c (catch_ada_completer): New function. + (_initialize_ada_language): Use it. + +2019-05-10 Tom Tromey + + * 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 + + * gdbtypes.c (objfile_type_data): Change type. + (objfile_type, _initialize_gdbtypes): Update. + +2019-05-08 Tom Tromey + + * 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 + + * objc-lang.c (objc_objfile_data): Change type. + (find_methods): Update. + (_initialize_objc_lang): Remove. + +2019-05-08 Tom Tromey + + * stabsread.c (rs6000_builtin_type_data): Change type. + (rs6000_builtin_type, _initialize_stabsread): Update. + +2019-05-08 Tom Tromey + + * mips-tdep.c (mips_pdr_data): Remove. + (_initialize_mips_tdep): Update. + +2019-05-08 Tom Tromey + + * 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 + + * 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 + + * mdebugread.c (basic_type_data): Change type. + (basic_type, _initialize_mdebugread): Update. + +2019-05-08 Tom Tromey + + * common/gdb_unique_ptr.h (struct noop_deleter): New. + +2019-05-08 Tom Tromey + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * symfile.h (struct sym_probe_fns) : 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) : Change type. + * probe.c (class any_static_probe_ops) : 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) : + Change type. + (dtrace_process_dof_probe, dtrace_process_dof) + (dtrace_static_probe_ops::get_probe): Change type. + +2019-05-08 Tom Tromey + + * 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 + + * solib-svr4.c (struct svr4_info): Add initializers and + destructor. + : 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * symfile-debug.c (struct debug_sym_fns_data): Add initializers. + (symfile_debug_objfile_data_key): Change type. + (symfile_debug_installed, debug_qf_has_symbols) + (debug_qf_find_last_source_symtab) + (debug_qf_forget_cached_source_info) + (debug_qf_map_symtabs_matching_filename, debug_qf_lookup_symbol) + (debug_qf_print_stats, debug_qf_dump) + (debug_qf_expand_symtabs_for_function) + (debug_qf_expand_all_symtabs) + (debug_qf_expand_symtabs_with_fullname) + (debug_qf_map_matching_symbols) + (debug_qf_expand_symtabs_matching) + (debug_qf_find_pc_sect_compunit_symtab) + (debug_qf_map_symbol_filenames) + (debug_qf_find_compunit_symtab_by_address, debug_sym_get_probes) + (debug_sym_new_init, debug_sym_init, debug_sym_read) + (debug_sym_read_psymbols, debug_sym_finish, debug_sym_offsets) + (debug_sym_read_linetable, debug_sym_relocate): Update. + (symfile_debug_free_objfile): Remove. + (install_symfile_debug_logging, _initialize_symfile_debug): + Update. + +2019-05-08 Tom Tromey + + * dwarf2read.h (struct dwarf2_per_objfile): Don't inherit from + allocate_on_obstack. + * dwarf2read.c (dwarf2_objfile_data_key): Change type. + (get_dwarf2_per_objfile): Update. + (set_dwarf2_per_objfile): Remove. + (dwarf2_has_info, dwarf2_get_section_info): Update. + (dwarf2_free_objfile): Remove. + (_initialize_dwarf2_read): Update. + +2019-05-08 Tom Tromey + + * auto-load.c (struct auto_load_pspace_info): Add destructor and + initializers. + : Now bool. + (auto_load_pspace_data): Change type. + (~auto_load_pspace_info): Rename from + auto_load_pspace_data_cleanup. + (get_auto_load_pspace_data, init_loaded_scripts_info) + (clear_section_scripts, maybe_print_unsupported_script_warning) + (maybe_print_script_not_found_warning, _initialize_auto_load): + Update. + +2019-05-08 Tom Tromey + + * objfiles.c (objfile_pspace_info): Add destructor and + initializers. + (objfiles_pspace_data): Change type. + (~objfile_pspace_info): Rename from objfiles_pspace_data_cleanup. + (get_objfile_pspace_data): Update. + (objfiles_bfd_data): Change type. + (get_objfile_bfd_data): Update. + (objfile_bfd_data_free, _initialize_objfiles): Remove. + +2019-05-08 Tom Tromey + + * break-catch-syscall.c (catch_syscall_inferior_data): Move. + Change type. + (get_catch_syscall_inferior_data): Update. + (catch_syscall_inferior_data_cleanup): Remove. + (_initialize_break_catch_syscall): Update. + +2019-05-08 Tom Tromey + + * inflow.c (struct terminal_info): Add destructor and + initializers. + (inflow_inferior_data): Change type. + (~terminal_info): Rename from inflow_inferior_data_cleanup. + (get_inflow_inferior_data, inflow_inferior_exit) + (swap_terminal_info, _initialize_inflow): Update. + +2019-05-08 Tom Tromey + + * target-dcache.c (target_dcache_cleanup): Remove. + (target_dcache_aspace_key): Change type. + (target_dcache_init_p, target_dcache_invalidate) + (target_dcache_get, target_dcache_get_or_init) + (_initialize_target_dcache): Update. + * dcache.h (struct dcache_deleter): New. + +2019-05-08 Tom Tromey + + * symtab.c (struct symbol_cache): Add destructor and + initializers. + (symbol_cache_key): Move. Change type. + (make_symbol_cache, free_symbol_cache): Remove. + (get_symbol_cache): Update. + (symbol_cache_cleanup): Remove. + (ALL_PSPACES, symbol_cache_flush) + (maintenance_print_symbol_cache) + (maintenance_print_symbol_cache_statistics, _initialize_symtab): + Update. + +2019-05-08 Tom Tromey + + * symtab.c (struct main_info): Add destructor and initializers. + (main_progspace_key): Move. Change type. + (get_main_info): Update. + (main_info_cleanup): Remove. + (_initialize_symtab): Update. + +2019-05-08 Tom Tromey + + * registry.h (DECLARE_REGISTRY): Define the _key class. + +2019-05-08 Andrew Burgess + + * NEWS: Merge two 'New commands' sections. + +2019-05-08 Joel Brobecker + + * ada-valprint.c (ada_val_print_gnat_array): Remove language + parameter and use Ada language definition instead. + (ada_val_print_ptr): Remove unused language parameter. + (ada_val_print_num): Remove language parameter and use Ada language + definition instead. + (ada_val_print_enum, ada_val_print_flt): Remove unused language + parameter. + (ada_val_print_struct_union, ada_val_print_ref): Remove language + parameter and use Ada language definition instead. + (ada_val_print_1): Update all ada_val_print_xxx calls. + Remove language parameter. + (ada_val_print): Update ada_val_print_1 call. + +2019-05-08 Tom Tromey + + * remote.c (remote_hw_watchpoint_limit) + (remote_hw_watchpoint_length_limit, remote_hw_breakpoint_limit): + Now static. + +2019-05-08 Tom Tromey + + * maint.c (_initialize_maint_cmds): Move initialization code to + remote.c. + (watchdog, show_watchdog): Move to remote.c. + * remote.c (watchdog, show_watchdog): Move from maint.c. Make + "watchdog" static. + (_initialize_remote): Move initialization code from maint.c. + * defs.h (watchdog): Don't declare. + +2019-05-08 Tom Tromey + + * tui/tui-interp.c: Include main.h. + * interps.c: Include main.h. + * main.h (interpreter_p): Declare. + * defs.h (interpreter_p): Don't declare. + +2019-05-08 Tom Tromey + + * dwarf2loc.c: Include dwarf2read.h. + * defs.h (read_unsigned_leb128): Don't declare. + * dwarf2read.h (read_unsigned_leb128): Declare. + +2019-05-08 Tom Tromey + + * utils.c (fputs_maybe_filtered): Call can_emit_style_escape as a + method. + +2019-05-08 Tom Tromey + + * utils.c (fputs_maybe_filtered): Reset style after paging, even + when no wrap column is set. + +2019-05-08 Tom Tromey + + * c-lang.c (c_get_string): Handle non-C-style arrays. + +2019-05-08 Tom Tromey + + * typeprint.c (print_offset_data::update): Print the bit offset, + not the number of bits remaining. + +2019-05-08 Tom Tromey + + * typeprint.c (print_offset_data::maybe_print_hole): Add extra + padding at end of comment. + +2019-05-08 Tom Tromey + + * dwarf2loc.c (dwarf2_evaluate_property) : + Compare main types. + +2019-05-06 Tom Tromey + + * common/scoped_mmap.c: Include common-defs.h. + * common/scoped_mmap.h: Don't include config.h. + +2019-05-04 Tom Tromey + + * aarch64-tdep.c (stack_item_t): Remove typedef and DEF_VEC. + (struct aarch64_call_info): Add initializers. + : Now a std::vector. + (pass_on_stack, aarch64_push_dummy_call): Update. + +2019-05-04 Simon Marchi + Tom Tromey + + * ppc-linux-nat.c (thread_points_p): Remove typedef and DEF_VEC. + (ppc_threads): Now a std::vector. Now static. + (hwdebug_find_thread_points_by_tid) + (ppc_linux_nat_target::low_new_thread, ppc_linux_thread_exit): + Update. + +2019-05-04 Tom Tromey + + * arc-tdep.c (arc_tdesc_init): Return bool. + +2019-05-04 Tom Tromey + + * arm-linux-nat.c (arm_linux_nat_target::can_use_hw_breakpoint): + Use gdb_assert_not_reached. + +2019-05-04 Tom Tromey + + * compile/compile-cplus-types.c (compile_cplus_convert_enum): Use + "false". + +2019-05-04 Tom Tromey + + * arc-tdep.c (arc_tdesc_init): Use bool. + +2019-05-04 Tom Tromey + + * stack.c (select_frame_for_mi): Use "false", not "FALSE". + +2019-05-04 Tom Tromey + + * cli/cli-cmds.c (valid_command_p): Return bool. + +2019-05-04 Tom Tromey + + * cli/cli-decode.c (valid_user_defined_cmd_name_p): Return bool. + * command.h (valid_user_defined_cmd_name_p): Channge return type. + +2019-05-04 Raul Tambre + + * python/lib/gdb/prompt.py (_ExtendedPrompt) + : Fix incorrect use of 'is' + operator for comparison. + +2019-05-04 Tom Tromey + + * psymtab.c (psymbol_name_matches, match_partial_symbol) + (lookup_partial_symbol, print_partial_symbols) + (recursively_search_psymtabs, sort_pst_symbols, psymbol_hash) + (psymbol_compare): Update. + (add_psymbol_to_bcache): Clear the entire psymbol. + (maintenance_check_psymtabs): Update. + * psympriv.h (struct partial_symbol): Don't derive from + general_symbol_info. + : Update. + : New member. + * dwarf-index-write.c (write_psymbols, debug_names::insert) + (debug_names::write_psymbols): Update. + 2019-05-04 Tom de Vries * contrib/cc-with-tweaks.sh: Support -n arg.