X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=10f391e5ea531437890faba2d6fd9d4f322ba10c;hb=bf3386f0c13f52cf379440b4d06ed849a9f5706b;hp=83c1de9f54352ebda49911ec2581caa376842583;hpb=d5d24e12f97e1db527a704d0f57e678d3552b55e;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 83c1de9f54..10f391e5ea 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,828 @@ +2021-02-11 Andrew Burgess + + * NEWS: Mention changes to 'maint info sections'. + * maint.c (match_substring): Return a bool, fix whitespace issue. + (struct single_bfd_flag_info): New struct. + (bfd_flag_info): New static global. + (match_bfd_flags): Return a bool, use bfd_flag_info. + (print_bfd_flags): Use bfd_flag_info. + (maint_print_section_info): Delete trailing whitespace. + (struct maint_info_sections_opts): New struct. + (maint_info_sections_option_defs): New static global. + (maint_info_sections_completer): New function. + (maintenance_info_sections): Use option parsing mechanism. + (_initialize_maint_cmds): Update command help text for 'maint info + sections' and register a command completer. + +2021-02-11 Andrew Burgess + + * maint.c (print_bfd_section_info_maybe_relocated): Delete, + functionality merged into... + (maint_print_all_sections): ...this new function. + (maintenance_info_sections): Make use of maint_print_all_sections, + allow all objects to be printed even where there's no executable. + +2021-02-11 Andrew Burgess + + * breakpoint.c (resolve_sal_pc): Make use of + bound_minimal_symbol::obj_section. + * maint.c (maintenance_translate_address): Likewise. + * minsyms.c (minimal_symbol_upper_bound): Likewise. + * minsyms.h (struct bound_minimal_symbol) : New + member function. + * printcmd.c (info_address_command): Make use of + bound_minimal_symbol::obj_section. + +2021-02-11 Alan Modra + + * arm-symbian-tdep.c: Delete. + * NEWS: Mention arm-symbian removal. + * Makefile.in: Remove arm-symbian-tdep entries. + * configure.tgt: Remove arm*-*-symbianelf*. + * doc/gdb.texinfo: Remove mention of SymbianOS. + * osabi.c (gdb_osabi_names): Remove "Symbian". + * osabi.h (enum gdb_osabi): Remove GDB_OSABI_SYMBIAN. + * testsuite/gdb.base/ending-run.exp: Remove E32Main handling. + * testsuite/gdb.ada/catch_ex_std.exp: Remove arm*-*-symbianelf* + handling. + * testsuite/gdb.base/dup-sect.exp: Likewise. + * testsuite/gdb.base/long_long.exp: Likewise. + * testsuite/gdb.base/solib-weak.exp: Likewise. + * testsuite/gdb.guile/scm-section-script.exp: Likewise. + * testsuite/gdb.python/py-section-script.exp: Likewise. + * testsuite/lib/dwarf.exp: Likewise. + * testsuite/lib/gdb.exp: Likewise. + +2021-02-10 Andrew Burgess + + * f-exp.y (UNOP_OR_BINOP_INTRINSIC): New token. + (exp): New pattern using UNOP_OR_BINOP_INTRINSIC. + (one_or_two_args): New pattern. + (f77_keywords): Add lbound and ubound. + * f-lang.c (fortran_bounds_all_dims): New function. + (fortran_bounds_for_dimension): New function. + (evaluate_subexp_f): Handle FORTRAN_LBOUND and FORTRAN_UBOUND. + (operator_length_f): Likewise. + (print_subexp_f): Likewise. + (dump_subexp_body_f): Likewise. + (operator_check_f): Likewise. + * std-operator.def (FORTRAN_LBOUND): Define. + (FORTRAN_UBOUND): Define. + +2021-02-10 Andrew Burgess + + * coff-pe-read.c (add_pe_forwarded_sym): Make use of section_index + and set_section_index member functions where appropriate. + * coffread.c (coff_symtab_read): Likewise. + (process_coff_symbol): Likewise. + * ctfread.c (set_symbol_address): Likewise. + * dwarf2/read.c (add_partial_symbol): Likewise. + (var_decode_location): Likewise. + * language.c: Likewise. + * minsyms.c (minimal_symbol_reader::record_full): Likewise. + (compact_minimal_symbols): Likewise. + (minimal_symbol_upper_bound): Likewise. + * objfiles.c (relocate_one_symbol): Likewise. + * psympriv.h (partial_symbol::obj_section): Likewise. + (partial_symbol::address): Likewise. + * psymtab.c (partial_symtab::add_psymbol): Likewise. + * stabsread.c (scan_file_globals): Likewise. + * symmisc.c (dump_msymbols): Likewise. + * symtab.c (general_symbol_info::obj_section): Likewise. + (fixup_section): Likewise. + (get_msymbol_address): Likewise. + * symtab.h (general_symbol_info::section): Rename to... + (general_symbol_info::m_section): ...this. + (general_symbol_info::set_section_index): New member function. + (general_symbol_info::section_index): Likewise. + (SYMBOL_SECTION): Delete. + (MSYMBOL_VALUE_ADDRESS): Make use of section_index and + set_section_index member functions where appropriate. + (MSYMBOL_SECTION): Delete. + (symbol::symbol): Update to initialize 'm_section'. + * xcoffread.c (read_xcoff_symtab): Make use of set_section_index. + (process_xcoff_symbol): Likewise. + +2021-02-10 Andrew Burgess + + * breakpoint.c (resolve_sal_pc): Replace SYMBOL_OBJ_SECTION and + MSYMBOL_OBJ_SECTION. + * findvar.c (language_defn::read_var_value): Likewise. + * infcmd.c (jump_command): Likewise. + * linespec.c (minsym_found): Likewise. + * maint.c (maintenance_translate_address): Likewise. + * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise. + (minimal_symbol_upper_bound): Likewise. + * parse.c (find_minsym_type_and_address): Likewise. + (operator_check_standard): Likewise. + * printcmd.c (info_address_command): Likewise. + * symmisc.c (dump_msymbols): Likewise. + (print_symbol): Likewise. + * symtab.c (general_symbol_info::obj_section): Define new + function. + (fixup_symbol_section): Replace SYMBOL_OBJ_SECTION. + (find_pc_sect_compunit_symtab): Likewise. + (find_function_start_sal): Likewise. + (skip_prologue_sal): Replace SYMBOL_OBJ_SECTION and + MSYMBOL_OBJ_SECTION. + * symtab.h (struct general_symbol_info) : Declare new + function. + (SYMBOL_OBJ_SECTION): Delete. + (MSYMBOL_OBJ_SECTION): Delete. + +2021-02-09 Tom Tromey + + * stap-probe.c (stap_parse_argument_conditionally): Fix typo. + +2021-02-09 Tom de Vries + + PR symtab/27341 + * dwarf2/read.c (read_array_type): Return NULL when not being able to + construct an array type. Add assert to ensure that element_type is + not being modified. + +2021-02-09 Andrew Burgess + + * gcore.c (struct gcore_collect_regset_section_cb_data): Delete. + (gcore_collect_regset_section_cb): Delete. + (gcore_collect_thread_registers): Delete. + (gcore_build_thread_register_notes): Delete. + (gcore_find_signalled_thread): Delete. + * gcore.h: Remove 'gdbsupport/gdb_signals.h' include and delete + 'gdbarch' and 'thread_info' declarations. + (gcore_build_thread_register_notes): Delete declaration. + (gcore_find_signalled_thread): Likewise. + * fbsd-tdep.c: Remove 'gcore.h' include. + (struct fbsd_collect_regset_section_cb_data): New struct. + (fbsd_collect_regset_section_cb): New function. + (fbsd_collect_thread_registers): New function. + (struct fbsd_corefile_thread_data): New struct. + (fbsd_corefile_thread): New function. + (fbsd_make_corefile_notes): Call FreeBSD specific code. + * linux-tdep.c: Remove 'gcore.h' include. + (struct linux_collect_regset_section_cb_data): New struct. + (linux_collect_regset_section_cb): New function. + (linux_collect_thread_registers): New function. + (linux_corefile_thread): Call Linux specific code. + (find_signalled_thread): New function. + (linux_make_corefile_notes): Call find_signalled_thread. + +2021-02-09 Tom Tromey + + * ada-lang.c (coerce_unspec_val_to_type): Avoid making lazy + not_lval value. + * value.c (value_contents_copy_raw): Now static. + * value.h (value_contents_copy_raw): Don't declare. + +2021-02-09 Tom Tromey + + * gdbtypes.c (resolve_dynamic_struct): Handle structure with no + fields. + +2021-02-08 Shahab Vahedi + + PR tdep/27369 + * arc-linux-tdep.c (handle_atomic_sequence): New. + (arc_linux_software_single_step): Call handle_atomic_sequence(). + +2021-02-08 Andrew Burgess + + * python/py-tui.c (gdbpy_tui_window) : New member + function. + (REQUIRE_WINDOW): Call is_valid member function. + (REQUIRE_WINDOW_FOR_SETTER): New define. + (gdbpy_tui_is_valid): Call is_valid member function. + (gdbpy_tui_set_title): Call REQUIRE_WINDOW_FOR_SETTER instead. + * tui/tui-data.h (struct tui_win_info) : Check + tui_active too. + * tui/tui-layout.c (tui_apply_current_layout): Add an assert. + * tui/tui.c (tui_enable): Move setting of tui_active earlier in + the function. + +2021-02-08 Andrew Burgess + + * python/py-tui.c (gdbpy_tui_set_title): Check that the new value + for the title is not nullptr. + +2021-02-08 Andrew Burgess + + * tui-layout.c (saved_tui_windows): Delete. + (tui_apply_current_layout): Don't make use of saved_tui_windows, + call new get_windows member function instead. + (tui_get_window_by_name): Check in tui_windows. + (tui_layout_window::apply): Don't add to tui_windows. + * tui-layout.h (tui_layout_base::get_windows): New member function. + (tui_layout_window::get_windows): Likewise. + (tui_layout_split::get_windows): Likewise. + +2021-02-08 Andrew Burgess + + * tui/tui-layout.c (tui_apply_current_layout): Restore the delete + of the window objects. + +2021-02-08 Andrew Burgess + + * python/python.c (gdbpy_print_stack): Reformat an error message. + +2021-02-08 Andrew Burgess + + * tui/tui-interp.c (tui_command_line_handler): New function. + (tui_interp::resume): Register tui_command_line_handler as the + input_handler. + * tui/tui-io.c (tui_inject_newline_into_command_window): New + function. + (tui_getc_1): Delete handling of '\n' and '\r'. + * tui-io.h (tui_inject_newline_into_command_window): Declare. + +2021-02-07 Hannes Domani + + * tui/tui-regs.c (tui_data_window::display_registers_from): + Mark invisible register sub windows. + (tui_data_window::check_register_values): Ignore invisible + register sub windows. + +2021-02-07 Hannes Domani + + * tui/tui-regs.c (tui_data_item_window::rerender): Don't call + n_spaces with a negative value. + +2021-02-07 Hannes Domani + + * tui/tui-regs.c (tui_data_window::display_registers_from): + Add refresh_window call. + +2021-02-07 Hannes Domani + + * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next. + +2021-02-05 Simon Marchi + + * symmisc.c (std_in, std_out, std_err): Remove. + (_initialize_symmisc): Don't set std_in, std_out and std_err. + +2021-02-05 Tom de Vries + + PR breakpoints/27330 + * breakpoint.c (create_exception_master_breakpoint): Handle case that + glibc object file has debug info. + +2021-02-05 Tom de Vries + + PR symtab/27333 + * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit. + +2021-02-05 Tom de Vries + + PR breakpoints/27313 + * break-catch-syscall.c (catch_syscall_split_args): Reject negative + syscall numbers. + +2021-02-05 Tom Tromey + + * compile/compile-c-support.c (get_compile_context) + (c_get_compile_context, cplus_get_compile_context): Change return + type. + * language.c (language_defn::get_compile_instance): New method. + * language.h (language_defn::get_compile_instance): Change return + type. No longer inline. + * c-lang.c (c_language::get_compile_instance): Change return type. + (cplus_language::get_compile_instance): Change return type. + * c-lang.h (c_get_compile_context, cplus_get_compile_context): + Change return type. + * compile/compile.c (compile_to_object): Update. + +2021-02-05 Tom Tromey + + * parser-defs.h (write_exp_symbol_reference): Declare. + * parse.c (write_exp_symbol_reference): New function. + * p-exp.y (variable): Use write_exp_symbol_reference. + * m2-exp.y (variable): Use write_exp_symbol_reference. + * f-exp.y (variable): Use write_exp_symbol_reference. + * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference. + * c-exp.y (variable): Use write_exp_symbol_reference. + +2021-02-05 Tom de Vries + + PR exp/27265 + * valarith.c (complex_binop): Throw an error if complex type can't + be created. + +2021-02-05 Tom de Vries + + PR symtab/27307 + * dwarf2/read.c (create_cus_from_debug_names_list): Add missing + return. + +2021-02-05 Tom de Vries + + * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation. + +2021-02-04 Mike Frysinger + + * configure.tgt (riscv*-*-*): Set gdb_sim. + +2021-02-04 Simon Marchi + + * target.c (target_is_non_stop_p): Return bool. + * target.h (target_is_non_stop_p): Return bool. + +2021-02-04 Simon Marchi + + * record-full.c (record_full_async_inferior_event_handler): + Don't clear async event handler. + (record_full_base_target::wait): Clear async event handler at + beginning. + +2021-02-04 Simon Marchi + + * record-btrace.c (record_btrace_handle_async_inferior_event): + Don't clear async event handler. + (record_btrace_target::wait): Clear async event handler at + beginning. + +2021-02-04 Simon Marchi + + * remote.c (remote_target::wait): Clear async event handler at + beginning, mark if needed at the end. + (remote_async_inferior_event_handler): Don't set or clear async + event handler. + +2021-02-04 Simon Marchi + + * async-event.h (async_event_handler_func): Add documentation. + * async-event.c (check_async_event_handlers): Don't clear + async_event_handler ready flag. + * infrun.c (infrun_async_inferior_event_handler): Clear ready + flag. + * record-btrace.c (record_btrace_handle_async_inferior_event): + Likewise. + * record-full.c (record_full_async_inferior_event_handler): + Likewise. + * remote-notif.c (remote_async_get_pending_events_handler): + Likewise. + * remote.c (remote_async_inferior_event_handler): Likewise. + +2021-02-03 Simon Marchi + + * infrun.c (handle_inferior_event): Move stop_soon variable to + inner scope. + +2021-02-03 Pedro Alves + + * infcmd.c (detach_command): Hold strong reference to target, and + if all-stop on entry, restart threads on exit. + * infrun.c (switch_back_to_stepped_thread): Factor out bits to ... + (restart_stepped_thread): ... this new function. Also handle + trap_expected. + (restart_after_all_stop_detach): New function. + * infrun.h (restart_after_all_stop_detach): Declare. + +2021-02-03 Pedro Alves + + * infrun.c (struct step_over_info): Initialize fields. + (prepare_for_detach): Handle ongoing in-line step over. + +2021-02-03 Pedro Alves + + * linux-nat.c (linux_nat_target::detach): Remove breakpoints + here... + * remote.c (remote_target::remote_detach_1): ... and here ... + * target.c (target_detach): ... instead of here. + * target.h (target_ops::detach): Add comment. + +2021-02-03 Pedro Alves + + * infrun.c (struct wait_one_event): Move higher up. + (prepare_for_detach): Abort in-progress displaced steps instead of + letting them complete. + (handle_one): If the inferior is detaching, don't add the thread + back to the global step-over chain. + (restart_threads): Don't restart threads if detaching. + (handle_signal_stop): Remove inferior::detaching reference. + +2021-02-03 Pedro Alves + + * infrun.c (prepare_for_detach): Don't release scoped_restore + before returning. + +2021-02-03 Pedro Alves + + * infrun.c (handle_one): New function, factored out from ... + (stop_all_threads): ... here. + +2021-02-03 Pedro Alves + + * remote.c (remote_notif_stop_ack): Don't error out on + TARGET_WAITKIND_IGNORE; instead, just ignore the notification. + (remote_target::discard_pending_stop_replies): Don't delete + in-flight notification; instead, clear its contents. + +2021-02-03 Pedro Alves + + * remote.c (extended_remote_target::attach): Set target async in + the target-non-stop path too. + +2021-02-03 Pedro Alves + + PR gdb/27055 + * infrun.c (handle_signal_stop): Move main context_switch call + earlier, before STOP_QUIETLY_NO_SIGSTOP. + +2021-02-02 Lancelot SIX + + * NEWS (Changed commands): Add entry for the behavior change of + the inferior command. + * inferior.c (inferior_command): When no argument is given to the + inferior command, display info about the currently selected + inferior. + +2021-02-02 Simon Marchi + + * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return + a sect_offset. + (read_attribute_reprocess): Adjust. + +2021-02-02 Simon Marchi + + * dwarf2/die.h (struct die_info) : Split in... + : ... this... + : ... and this. + * dwarf2/read.c (struct dwarf2_cu) : Split in... + : ... this... + : ... and this. + (read_cutu_die_from_dwo): Adjust + (dwarf2_get_pc_bounds): Adjust + (dwarf2_record_block_ranges): Adjust. + (read_full_die_1): Adjust + (partial_die_info::read): Adjust. + (read_rnglist_index): Adjust. + +2021-02-02 Simon Marchi + + PR gdb/26813 + * dwarf2/read.c (read_loclists_rnglists_header): Add + header_offset parameter and use it. + (read_loclist_index): Read header of the current contribution, + not the one at the beginning of the section. + (read_rnglist_index): Likewise. + +2021-02-02 Simon Marchi + + PR gdb/26813 + * dwarf2/attribute.h (struct attribute) : Clear + requires_reprocessing flag. + * dwarf2/attribute.c (attribute::form_is_unsigned): Handle + DW_FORM_loclistx. + (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx + and DW_FORM_loclistx. + * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned + instead of set_address for DW_FORM_loclistx and + DW_FORM_rnglistx. + +2021-02-02 Simon Marchi + + * dwarf2/read.c (read_loclist_index): Remove bound check for + start of offset. + (read_rnglist_index): Likewise. + +2021-02-02 Simon Marchi + + * dwarf2/read.c (read_loclist_index): Add bound check for the end + of the offset. + +2021-02-02 Simon Marchi + + * dwarf2/read.c (read_rnglist_index): Fix bound check. + +2021-02-02 Simon Marchi + + * dwarf2/read.c (read_loclist_index): Change complaints into + errors. + +2021-02-02 Tom de Vries + + PR symtab/24620 + * dwarf2/index-write.c (write_one_signatured_type): Skip if + psymtab == nullptr. + +2021-02-01 Andrew Burgess + + * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h. + * gcore.c (struct gcore_collect_regset_section_cb_data): Moved + here from linux-tdep.c and given a new name. Minor cleanups. + (gcore_collect_regset_section_cb): Likewise. + (gcore_collect_thread_registers): Likewise. + (gcore_build_thread_register_notes): Likewise. + (gcore_find_signalled_thread): Likewise. + * gcore.h (gcore_build_thread_register_notes): Declare. + (gcore_find_signalled_thread): Declare. + * fbsd-tdep.c: Add 'gcore.h' include. + (struct fbsd_collect_regset_section_cb_data): Delete. + (fbsd_collect_regset_section_cb): Delete. + (fbsd_collect_thread_registers): Delete. + (struct fbsd_corefile_thread_data): Delete. + (fbsd_corefile_thread): Delete. + (fbsd_make_corefile_notes): Call + gcore_build_thread_register_notes instead of the now deleted + FreeBSD code. + * linux-tdep.c: Add 'gcore.h' include. + (struct linux_collect_regset_section_cb_data): Delete. + (linux_collect_regset_section_cb): Delete. + (linux_collect_thread_registers): Delete. + (linux_corefile_thread): Call + gcore_build_thread_register_notes. + (find_signalled_thread): Delete. + (linux_make_corefile_notes): Call gcore_find_signalled_thread. + +2021-01-29 Tom de Vries + + PR breakpoints/26063 + * infrun.c (process_event_stop_test): Reset + ecs->event_thread->current_line to 0 if is-stmt=n and frame has + changed. + +2021-01-28 Andrew Burgess + + * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an + assert. Extend the header comment. + +2021-01-28 Andrew Burgess + + * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c. + (HFILES_NO_SRCDIR): Add tui/tui-location.h. + * tui/tui-data.h (TUI_STATUS_WIN): Define. + (tui_locator_win_info_ptr): Delete declaration. + * tui/tui-disasm.c: Add 'tui/tui-location.h' include. + (tui_disasm_window::set_contents): Fetch state from tui_location + global. + (tui_get_begin_asm_address): Likewise. + * tui/tui-layout.c (tui_apply_current_layout): Remove special case + for locator window. + (get_locator_window): Delete. + (initialize_known_windows): Treat locator window just like all the + rest. + * tui/tui-source.c: Add 'tui/tui-location.h' include. + (tui_source_window::set_contents): Fetch state from tui_location + global. + (tui_source_window::showing_source_p): Likewise. + * tui/tui-stack.c: Add 'tui/tui-location.h' include. + (_locator): Delete. + (tui_locator_win_info_ptr): Delete. + (tui_locator_window::make_status_line): Fetch state from + tui_location global. + (tui_locator_window::rerender): Remove check of 'handle', + reindent function body. + (tui_locator_window::set_locator_fullname): Delete. + (tui_locator_window::set_locator_info): Delete. + (tui_update_locator_fullname): Delete. + (tui_show_frame_info): Likewise. + (tui_show_locator_content): Access window through TUI_STATUS_WIN. + * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to + tui/tui-location.h and renamed to + tui_location_tracker::set_location. + (tui_locator_window::set_locator_fullname): Moved to + tui/tui-location.h and renamed to + tui_location_tracker::set_fullname. + (tui_locator_window::full_name): Delete. + (tui_locator_window::proc_name): Delete. + (tui_locator_window::line_no): Delete. + (tui_locator_window::addr): Delete. + (tui_locator_window::gdbarch): Delete. + (tui_update_locator_fullname): Delete declaration. + * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling + for locator window. + * tui/tui-winsource.c: Add 'tui/tui-location.h' include. + (tui_display_main): Call function on tui_location directly. + * tui/tui.h (enum tui_win_type): Add STATUS_WIN. + * tui/tui-location.c: New file. + * tui/tui-location.h: New file. + +2021-01-28 Simon Marchi + + * gdbtypes.h (get_type_arch): Rename to... + (struct type) : ... this, update all users. + +2021-01-28 Simon Marchi + + * gdbtypes.h (struct type) : Rename to... + : ... this, update all users. + : Rename to... + : ... this, update all users. + +2021-01-28 Andrew Burgess + + * gdbcmd.h (execute_command_to_string): Update comment. + * top.c (execute_command_to_string): Update header comment. + +2021-01-28 Tom de Vries + + PR breakpoints/27205 + * breakpoint.c (create_longjmp_master_breakpoint_probe) + (create_longjmp_master_breakpoint_names): New function, factored out + of ... + (create_longjmp_master_breakpoint): ... here. Only try to install + longjmp_names breakpoints in libc.so/libc.so.debug if installing probe + breakpoint in libc.so failed. + +2021-01-27 Lancelot SIX + + PR gdb/27133 + * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the + unique_ptr is released when the wrapped pointer is kept for later + use. + +2021-01-27 Matthew Malcomson + + * aarch64-tdep.c (aarch64_displaced_step_others): Account for + BLR and BR instructions. + * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode. + (enum aarch64_masks): New. + +2021-01-26 Tom Tromey + + * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM) + (DEBUG_EXCEPT): Use debug_prefixed_printf_cond. + (windows_init_thread_list, windows_nat::handle_load_dll) + (windows_nat::handle_unload_dll, windows_nat_target::resume) + (windows_nat_target::resume) + (windows_nat_target::get_windows_debug_event) + (windows_nat_target::interrupt, windows_xfer_memory) + (windows_nat_target::close): Update. + * nat/windows-nat.c (DEBUG_EVENTS): Use + debug_prefixed_printf_cond. + (matching_pending_stop, fetch_pending_stop) + (continue_last_debug_event): Update. + +2020-12-17 Mihails Strasuns + + * linux-tdep.c (linux_make_mappings_corefile_notes): Start using + elfcore_write_file_note. + +2021-01-26 Shahab Vahedi + + * arc-tdep.c (arc_add_reggroups): New function. + (arc_gdbarch_init): Call arc_add_reggroups. + +2021-01-26 Anton Kolesov + + * arc-tdep.c (arc_skip_prologue): Log "pc" address. + +2021-01-25 Bernd Edlinger + Simon Marchi + Tom de Vries + + * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for + DW_AT_ranges. + +2021-01-25 Tom Tromey + + * dwarf2/read.c (get_mpz): New function. + (get_dwarf2_rational_constant): Use it. + +2021-01-25 Tom Tromey + + * ada-lang.c (resolve_subexp): Handle array context. + +2021-01-23 Tom Tromey + + PR compile/25575 + * compile/compile-loc2c.c (note_register): New function. + (pushf_register_address, pushf_register): Use it. + +2021-01-23 Tom Tromey + + * symtab.h (struct symbol_computed_ops) : + Change type of "registers_used". + * dwarf2/loc.h (dwarf2_compile_property_to_c): Update. + * dwarf2/loc.c (dwarf2_compile_property_to_c) + (locexpr_generate_c_location, loclist_generate_c_location): Change + type of "registers_used". + * compile/compile.h (compile_dwarf_expr_to_c) + (compile_dwarf_bounds_to_c): Update. + * compile/compile-loc2c.c (pushf_register_address) + (pushf_register, do_compile_dwarf_expr_to_c) + (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type + of "registers_used". + * compile/compile-c.h (generate_c_for_variable_locations): + Update. + * compile/compile-c-symbols.c (generate_vla_size) + (generate_c_for_for_one_variable): Change type of + "registers_used". + (generate_c_for_variable_locations): Return std::vector. + * compile/compile-c-support.c (generate_register_struct): Change + type of "registers_used". + (compute): Update. + +2021-01-23 Tom Tromey + + * compile/compile-internal.h (class compile_instance) + : Change return type. + * compile/compile.c (compile_to_object): Remove call to reset. + (compile_instance::set_arguments): Change return type. + +2021-01-23 Simon Marchi + + * gdbtypes.c (copy_type_recursive): Use get_type_arch. + * gdbtypes.h (struct type) : Add asserts. + +2021-01-23 Lancelot SIX + + * Makefile.in (SELFTESTS_SRCS): Add + unittests/gdb_tilde_expand-selftests.c. + * unittests/gdb_tilde_expand-selftests.c: New file. + +2021-01-22 Andrew Burgess + + PR cli/25956 + * NEWS: Mention new command. + * cli/cli-style.c: Add 'cli/cli-setshow.h' include. + (version_style): Define. + (cli_style_option::cli_style_option): Add intensity parameter, and + use as appropriate. + (_initialize_cli_style): Register version style set/show commands. + * cli/cli-style.h (cli_style_option): Add intensity parameter. + (version_style): Declare. + * top.c (print_gdb_version): Use version_stype, and styled_string + to print the GDB version string. + +2021-01-22 Andrew Burgess + + * utils.c (emit_style_escape): Only emit an escape sequence if the + requested style is different than the current applied style. + (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and + current applied_style. + (fputs_styled): Remove is_default check. + (fputs_styled_unfiltered): Likewise. + (vfprintf_styled_no_gdbfmt): Likewise. + +2021-01-22 Simon Marchi + + * remote.h (remote_debug_printf): New. + (remote_debug_printf_nofunc): New. + (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New. + * remote.c: Use above macros throughout file. + +2021-01-22 Simon Marchi + + * remote.h (remote_debug): Change to bool. + * remote.c (remote_debug): Change to bool. + (_initialize_remote): Adjust. + +2021-01-22 Simon Marchi + + * target.h (remote_debug): Move to... + * remote.h (remote_debug): ... here. + * top.c (remote_debug): Move to... + * remote.c (remote_debug): ... here. + * remote-sim.c: Include remote.h. + +2021-01-22 Simon Marchi + + * cli/cli-cmds.c (show_remote_debug): Remove. + (show_remote_timeout): Remove. + (_initialize_cli_cmds): Don't register commands. + * remote.c (show_remote_debug): Move here. + (show_remote_timeout): Move here. + (_initialize_remote): Register commands. + +2021-01-22 Simon Marchi + + * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the + type::objfile method instead. + +2021-01-22 Simon Marchi + + * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to + use the type::is_objfile_owned method. + +2021-01-22 Simon Marchi + + * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust. + (TYPE_OWNER): Remove. + (TYPE_OBJFILE): Adjust. + (struct main_type) : Rename to... + : ... this. + : Rename to... + : ... this. + (struct type) : New + methods. + (TYPE_ALLOC): Adjust. + * gdbtypes.c (alloc_type): Adjust. + (alloc_type_arch): Adjust. + (alloc_type_copy): Adjust. + (get_type_arch): Adjust. + (smash_type): Adjust. + (lookup_array_range_type): Adjust. + (recursive_dump_type): Adjust. + (copy_type_recursive): Adjust. + * compile/compile-c-types.c (convert_func): Adjust. + (convert_type_basic): Adjust. + * compile/compile-cplus-types.c (compile_cplus_convert_func): + Adjust. + * language.c + (language_arch_info::type_and_symbol::alloc_type_symbol): + Adjust. + 2021-01-21 Luis Machado * coffread.c (enter_linenos): Passing string to complaint.