X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=be55c41d67f920dc519e6f1fc68b3049cb525dd0;hb=38eae084598a3531bef4b7987a8fe646ae92a988;hp=083d4d29eca4e5a8c8766525b1463a38d35cae92;hpb=2467f4f6a533a28047e0b45ce716b9b1f9f72a09;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 083d4d29ec..be55c41d67 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,349 @@ +2020-05-08 Tom Tromey + + * extension.c (extension_languages): Now a std::array. + (ALL_EXTENSION_LANGUAGES): Remove. + (get_ext_lang_defn, get_ext_lang_of_file) + (eval_ext_lang_from_control_command): Update. + (finish_ext_lang_initialization) + (auto_load_ext_lang_scripts_for_objfile) + (ext_lang_type_printers::ext_lang_type_printers) + (apply_ext_lang_type_printers) + (ext_lang_type_printers::~ext_lang_type_printers) + (apply_ext_lang_val_pretty_printer, apply_ext_lang_frame_filter) + (preserve_ext_lang_values, get_breakpoint_cond_ext_lang) + (breakpoint_ext_lang_cond_says_stop, check_quit_flag) + (get_matching_xmethod_workers, ext_lang_colorize) + (ext_lang_before_prompt): Update. + (ALL_ENABLED_EXTENSION_LANGUAGES): Remove. + +2020-05-08 Tom Tromey + + * symtab.h (class demangle_result_storage) : New + overload. + : Remove. + * symtab.c (demangle_for_lookup, completion_list_add_symbol): + Update. + * stabsread.c (define_symbol, read_type): Update. + * linespec.c (find_linespec_symbols): Update. + * gnu-v3-abi.c (gnuv3_get_typeid): Update. + * dwarf2/read.c (dwarf2_canonicalize_name): Update. + * dbxread.c (read_dbx_symtab): Update. + * cp-support.h (cp_canonicalize_string_full) + (cp_canonicalize_string, cp_canonicalize_string_no_typedefs): + Return unique_xmalloc_ptr. + * cp-support.c (inspect_type): Update. + (cp_canonicalize_string_full): Return unique_xmalloc_ptr. + (cp_canonicalize_string_no_typedefs, cp_canonicalize_string): + Likewise. + * c-typeprint.c (print_name_maybe_canonical): Update. + * break-catch-throw.c (check_status_exception_catchpoint): + Update. + +2020-05-08 Tom de Vries + + * infrun.c (follow_fork): Copy current_line and current_symtab to + child thread. + +2020-05-07 Simon Marchi + + * async-event.c (struct async_signal_handler, struct + async_event_handler): Reformat, remove typedef. + +2020-05-07 Simon Marchi + + * gdbtypes.h (TYPE_DYN_PROP_LIST): Remove. Update all users + access thistype->main_type->dyn_prop_list directly. + +2020-05-07 Simon Marchi + + * gdbtypes.h (struct type) : New method. + (remove_dyn_prop): Remove. Update all users to use + type::remove_dyn_prop. + * gdbtypes.c (remove_dyn_prop): Rename to... + (type::remove_dyn_prop): ... this. + +2020-05-07 Simon Marchi via Gdb-patches + + * gdbtypes.h (struct type) : New method. + (add_dyn_prop): Remove. Update all users to use + type::add_dyn_prop. + * gdbtypes.c (add_dyn_prop): Rename to... + (type::add_dyn_prop): ... this. + +2020-05-07 Simon Marchi + + * gdbtypes.h (struct type) : New method. + (get_dyn_prop): Remove. Update all users to use + type::dyn_prop. + * gdbtypes.c (get_dyn_prop): Rename to... + (type::dyn_prop): ... this. + +2020-05-06 Simon Marchi + + * gdbtypes.h (struct main_type) : Remove. + +2020-05-06 Simon Marchi + + * amd64-tdep.c (amd64_analyze_prologue): Check for `endbr64` + instruction, skip it if it's there. + +2020-05-05 Simon Marchi + + * gdbtypes.h (struct main_type) : Remove. + +2020-05-04 Simon Marchi + + * gdbtypes.h (TYPE_INCOMPLETE): Remove. + * gdbtypes.c (recursive_dump_type): Remove use of + TYPE_INCOMPLETE. + +2020-05-03 Tom Tromey + + * breakpoint.c (catch_command, tcatch_command): Remove. + (_initialize_breakpoint): Use add_basic_prefix_cmd, + add_show_prefix_cmd. + (set_breakpoint_cmd, show_breakpoint_cmd): Remove + * utils.c (set_internal_problem_cmd, show_internal_problem_cmd): + Remove. + (add_internal_problem_command): Use add_basic_prefix_cmd, + add_show_prefix_cmd. + * mips-tdep.c (set_mipsfpu_command): Remove. + (_initialize_mips_tdep): Use add_basic_prefix_cmd. + * dwarf2/index-cache.c (set_index_cache_command): Remove. + (_initialize_index_cache): Use add_basic_prefix_cmd. + * memattr.c (dummy_cmd): Remove. + (_initialize_mem): Use add_basic_prefix_cmd, add_show_prefix_cmd. + * tui/tui-win.c (set_tui_cmd, show_tui_cmd): Remove. + (_initialize_tui_win): Use add_basic_prefix_cmd, + add_show_prefix_cmd. + * cli/cli-logging.c (set_logging_command): Remove. + (_initialize_cli_logging): Use add_basic_prefix_cmd, + add_show_prefix_cmd. + (show_logging_command): Remove. + * target.c (target_command): Remove. + (add_target): Use add_basic_prefix_cmd. + +2020-05-02 Hannes Domani + + * gdbtypes.h (enum dynamic_prop_node_kind): Fix typo. + +2020-05-01 Philippe Waroquiers + + * gdb-gdb.gdb-in: Remove breakpoint on disappeared function + info_command. + +2020-04-30 Kamil Rytarowski + + * nbsd-nat.c (nbsd_enable_proc_events) + (nbsd_nat_target::post_startup_inferior): Add. + (nbsd_nat_target::post_attach): Call `nbsd_enable_proc_events'. + (nbsd_nat_target::update_thread_list): Rewrite. + (nbsd_nat_target::wait): Handle "PTRACE_LWP_EXIT" and + "PTRACE_LWP_CREATE". + * nbsd-nat.h (nbsd_nat_target::post_startup_inferior): Add. + +2020-04-30 Philippe Waroquiers + + * stack.c (_initialize_stack): Remove duplicated creation + of "frame" command and "f" alias. + +2020-04-30 Hannes Domani + + PR gdb/18706 + * gdbtypes.c (check_typedef): Calculate size of array of + stubbed type. + +2020-04-30 Hannes Domani + + PR gdb/15559 + * i386-tdep.c (i386_push_dummy_call): Call + i386_thiscall_push_dummy_call. + (i386_thiscall_push_dummy_call): New function. + * i386-tdep.h (i386_thiscall_push_dummy_call): Declare. + * i386-windows-tdep.c (i386_windows_push_dummy_call): New function. + (i386_windows_init_abi): Call set_gdbarch_push_dummy_call. + +2020-04-29 Simon Marchi + + * gdbarch.sh (do_read): Add shellcheck disable directive for + warning SC2162. + +2020-04-29 Simon Marchi + + * gdbarch.sh: Use ${foo:-} where shellcheck would report a + "referenced but not assigned" warning. + +2020-04-29 Simon Marchi + + * gdbarch.sh: Remove code that sets fallbackdefault. + +2020-04-29 Simon Marchi + + * gdbarch.sh: Use shell operators && and || instead of + -a and -o. + +2020-04-29 Simon Marchi + + * gdbarch.sh: Use $(...) instead of `...`. + +2020-04-29 Simon Marchi + + * gdbarch.sh: Use double quotes around variables. + +2020-04-29 Simon Marchi + + * gdbarch.sh: Use %s with printf, instead of variables in the + format string. + +2020-04-29 Tom Tromey + + PR ada/25875: + * dwarf2/read.c (update_enumeration_type_from_children): Compute + type fields here. + (read_enumeration_type): Call + update_enumeration_type_from_children later. Update comments. + (process_enumeration_scope): Don't create type fields. + +2020-04-29 Kamil Rytarowski + + * nbsd-tdep.c: Include "xml-syscall.h". + (nbsd_init_abi): Call `set_xml_syscall_file_name'. + +2020-04-29 Kamil Rytarowski + + * nbsd-nat.c: Include "sys/wait.h". + (nbsd_resume, nbsd_nat_target::resume, nbsd_wait) + (nbsd_nat_target::wait, nbsd_nat_target::insert_exec_catchpoint) + (nbsd_nat_target::remove_exec_catchpoint) + (nbsd_nat_target::set_syscall_catchpoint): Add. + * nbsd-nat.h (nbsd_nat_target::resume, nbsd_nat_target::wait) + (nbsd_nat_target::insert_exec_catchpoint) + (nbsd_nat_target::remove_exec_catchpoint) + (nbsd_nat_target::set_syscall_catchpoint): Add. + * nbsd-tdep.c (nbsd_get_syscall_number): Add. + (nbsd_init_abi): Call `set_gdbarch_get_syscall_number' and pass + `nbsd_get_syscall_number'. + +2020-04-29 Tom Tromey + + * stack.c (print_block_frame_labels): Remove. + +2020-04-29 Hannes Domani + + PR gdb/17320 + * ada-valprint.c (val_print_packed_array_elements): Move array + end bracket to new line. + (ada_val_print_string): Remove extra spaces before first array + element. + * c-valprint.c (c_value_print_array): Likewise. + * m2-valprint.c (m2_print_array_contents): Likewise. + (m2_value_print_inner): Likewise. + * p-valprint.c (pascal_value_print_inner): Likewise. + * valprint.c (generic_val_print_array): Likewise. + (value_print_array_elements): Move first array element and array + end bracket to new line. + +2020-04-29 Tom de Vries + + PR symtab/25889 + * linespec.c (find_method): Fix ix calculation. + +2020-04-28 Kamil Rytarowski + + * syscalls/update-netbsd.sh: New file. + * syscalls/netbsd.xml: Regenerate. + * data-directory/Makefile.in: Register `netbsd.xml' in + `SYSCALLS_FILES'. + +2020-04-28 Simon Marchi + + * syscalls/update-freebsd.sh: Add double quotes. + +2020-04-28 Tom Tromey + + * NEWS: Update. + * python/py-cmd.c (gdbpy_initialize_commands): Add COMMAND_TUI. + (cmdpy_init): Allow class_tui. + +2020-04-28 Mark Williams + + PR gdb/24480 + * dwarf2read.c: Add missing assingments to list_in_scope when + start_symtab was already called. + +2020-04-28 Simon Marchi + + PR gdb/25881 + * dwarf2/read.c (offset_map_type): Use + gdb:hash_enum as hash function. + +2020-04-28 Tom de Vries + + * dwarf2/read.c (process_structure_scope): Add symbol for struct decl + with DW_AT_signature. + +2020-04-27 Simon Marchi + + * configure.ac: Remove check for fs_base/gs_base in + user_regs_struct. + * configure: Re-generate. + * config.in: Re-generate. + * amd64-nat.c (amd64_native_gregset_reg_offset): Adjust. + * amd64-linux-nat.c (amd64_linux_nat_target::fetch_registers, + amd64_linux_nat_target::store_registers, ps_get_thread_area, ): Adjust. + +2020-04-27 Luis Machado + + * dwarf2/frame-tailcall.c (dwarf2_tailcall_sniffer_first): Handle + problematic inline frame unwinding situation. + * frame.c (frame_id_computed_p): New function. + * frame.h (frame_id_computed_p): New prototype. + +2020-04-26 Tom Tromey + + * command.h (enum command_class) : Remove. + +2020-04-26 Philippe Waroquiers + + * cli/cli-decode.c (lookup_cmd_composition): Fix comments + and whitespace. + +2020-04-25 Kamil Rytarowski + + * inf-ptrace.c (inf_ptrace_target::wait): Remove + `PT_GET_PROCESS_STATE' block. + +2020-04-24 Tom Tromey + + * symtab.h (symbol_get_demangled_name): Don't declare. + * symtab.c (symbol_get_demangled_name): Remove. + (general_symbol_info::natural_name) + (general_symbol_info::demangled_name): Update. + +2020-04-24 Tom Tromey + + PR rust/25025: + * dwarf2/read.c (dwarf2_physname): Do not demangle for Rust. + +2020-04-24 Tom Tromey + + PR symtab/12707: + * dwarf2/read.c (add_partial_symbol): Use the linkage name if it + exists. + (new_symbol): Likewise. + * compile/compile-object-load.c (get_out_value_type): Use + symbol_matches_search_name. + +2020-04-24 Tom Tromey + + * dwarf2/read.c (add_partial_symbol): Do not call + compute_and_set_names. + +2020-04-24 Tom Tromey + + * dwarf2/read.c (add_partial_symbol): Use new add_psymbol_to_list + overload. + 2020-04-24 Tom Tromey * psymtab.c (add_psymbol_to_bcache): Simplify calling convention.