X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=9c8cebaf6fdec9690ecb65fd83cc0d4ebbae34ae;hb=abf516c6931af1683d1e51203de1ca01467f9f85;hp=4f20a78a8cded1e855ce96e49410d731507719c9;hpb=772f3f0398b53cdb88cd744132cf7265928c12a0;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4f20a78a8c..9c8cebaf6f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,960 @@ +2019-09-20 Ulrich Weigand + + * NEWS: Mention that Cell/B.E. debugging support was removed. + * MAINTAINERS: Remove spu target. + + * config/djgpp/fnchange.lst: Remove entries for removed files. + + * Makefile.in (ALL_TARGET_OBS): Remove solib-spu.o, + spu-multiarch.o, and spu-tdep.o. + (HFILES_NO_SRCDIR): Remove solib-spu.h and spu-tdep.h. + (ALLDEPFILES): Remove solib-spu.c, spu-linux-nat.c, + spu-multiarch.c, and spu-tdep.c. + * spu-linux-nat.c: Remove file. + * spu-multiarch.c: Remove file. + * spu-tdep.c: Remove file. + * spu-tdep.h: Remove file. + * solib-spu.c: Remove file. + * solib-spu.h: Remove file. + + * configure.host (powerpc64*-*-linux*): Remove Cell/B.E. support. + * configure.nat (spu-linux): Remove. + * configure.tgt (powerpc*-*-linux*): Remove solib-spu.o and + solib-multiarch.o from gdb_target_obs. + (spu*-*-*): Remove. + + * arch/ppc-linux-common.h (struct ppc_linux_features): Remove "cell" + feature flag. + (ppc_linux_no_features): Update. + * arch/ppc-linux-common.c (ppc_linux_match_description): Remove + Cell/B.E. support. + * arch/ppc-linux-tdesc.h (tdesc_powerpc_cell32l): Remove declaration. + (tdesc_powerpc_cell64l): Likewise. + * nat/ppc-linux.h (PPC_FEATURE_CELL): Remove. + * ppc-linux-nat.c (ppc_linux_nat_target::read_description): Remove + Cell/B.E. support. + * ppc-linux-tdep.h: Do not include "solib-spu.h" or "spu-tdep.h". + Do not include "features/rs6000/powerpc-cell32l.c" or + "features/rs6000/powerpc-cell64l.c". + (ppc_linux_spu_section): Remove. + (ppc_linux_core_read_description): Remove Cell/B.E. support. + (spe_context_objfile, spe_context_lm_addr, spe_context_offset, + spe_context_cache_ptid, spe_context_cache_ptid): Remove. + (ppc_linux_spe_context_lookup): Remove. + (ppc_linux_spe_context_inferior_created): Remove. + (ppc_linux_spe_context_solib_loaded): Remove. + (ppc_linux_spe_context_solib_unloaded): Remove. + (ppc_linux_spe_context): Remove. + (struct ppu2spu_cache): Remove. + (ppu2spu_prev_arch, ppu2spu_this_id, ppu2spu_prev_register): Remove. + (struct ppu2spu_data): Remove. + (ppu2spu_unwind_register, ppu2spu_sniffer, ppu2spu_dealloc_cache, + ppu2spu_unwind): Remove. + (ppc_linux_init_abi): Remove Cell/B.E. support. + * rs6000-tdep.h (rs6000_gdbarch_init): Remove Cell/B.E. support. + + * features/Makefile (rs6000/powerpc-cell32l-expedite): Remove. + (rs6000/powerpc-cell64l-expedite): Likewise + (WHICH): Remove rs6000/powerpc-cell32l and rs6000/powerpc-cell64l. + (XMLTOC): Remove rs6000/powerpc-cell32l.xml and + rs6000/powerpc-cell64l.xml. + * features/rs6000/powerpc-cell32l.xml: Remove. + * features/rs6000/powerpc-cell64l.xml: Likewise. + * features/rs6000/powerpc-cell32l.c: Remove generated file. + * features/rs6000/powerpc-cell64l.c: Likewise. + * regformats/rs6000/powerpc-cell32l.dat: Remove generated file. + * regformats/rs6000/powerpc-cell64l.dat: Likewise. + * regformats/reg-spu.dat: Remove. + + * target.h (enum target_object): Remove TARGET_OBJECT_SPU. + * corelow.c (struct spuid_list): Remove. + (add_to_spuid_list): Remove. + (core_target::xfer_partial): Remove support for TARGET_OBJECT_SPU. + * remote.c (PACKET_qXfer_spu_read, PACKET_qXfer_spu_write): Remove. + (remote_protocol_features): Remove associated entries. + (_initialize_remote): No longer initialize them. + (remote_target::xfer_partial): Remove support for TARGET_OBJECT_SPU. + * linux-nat.c (SPUFS_MAGIC): Remove. + (linux_proc_xfer_spu): Remove. + (spu_enumerate_spu_ids): Remove. + (linux_nat_target::xfer_partial): Remove support for TARGET_OBJECT_SPU. + * linux-tdep.c (-linux_spu_make_corefile_notes): Remove. + (linux_make_corefile_notes): No longer call it. + + * regcache.c (cooked_read_test): Remove bfd_arch_spu special case. + (cooked_write_test): Likewise. + +2019-09-20 Tom Tromey + + * NEWS: Mention case-sensitivity of TUI commands. + * tui/tui-win.c (tui_set_focus_command): Now case-sensitive. + (tui_set_win_height_command, parse_scrolling_args): Likewise. + * tui/tui-layout.c (tui_layout_command): Now case-sensitive. + +2019-09-20 Tom Tromey + + * tui/tui-source.c (tui_source_window::set_contents): Use + make_unique_xstrdup. + * tui/tui-disasm.c (tui_disasm_window::set_contents): Use + make_unique_xstrdup. + +2019-09-20 Tom Tromey + + * tui/tui-data.c: Remove separator comments. + * tui/tui-layout.c: Remove separator comments. + * tui/tui-win.c: Remove separator comments. + * tui/tui-wingeneral.c: Remove separator comments. + +2019-09-20 Tom Tromey + + * tui/tui.h (strcat_to_buf): Don't declare. + * tui/tui.c (strcat_to_buf): Remove. + +2019-09-20 Tom Tromey + + * tui/tui-source.h (struct tui_source_window) : Rename + from "fullname". + * tui/tui-source.c (tui_source_window::set_contents) + (tui_source_window::location_matches_p) + (tui_source_window::maybe_update): Update. + +2019-09-20 Tom Tromey + + * tui/tui-regs.h (struct tui_data_window) : + Update. + : Add "m_" + prefix. + * tui/tui-regs.c (tui_data_window::last_regs_line_no) + (tui_data_window::line_from_reg_element_no) + (tui_data_window::first_reg_element_no_inline) + (tui_data_window::show_registers) + (tui_data_window::show_register_group) + (tui_data_window::display_registers_from) + (tui_data_window::display_registers_from_line) + (tui_data_window::first_data_item_displayed) + (tui_data_window::delete_data_content_windows) + (tui_data_window::erase_data_content) + (tui_data_window::do_scroll_vertical) + (tui_data_window::refresh_window) + (tui_data_window::check_register_values): Update. + +2019-09-20 Tom Tromey + + * tui/tui-stack.h (MAX_LOCATOR_ELEMENT_LEN): Remove define. + (struct tui_locator_window) : Now + std::string. + * tui/tui-stack.c (tui_locator_window::make_status_line) + (tui_locator_window::set_locator_fullname) + (tui_locator_window::set_locator_info): Update. + * tui/tui-source.c (tui_source_window::set_contents) + (tui_source_window::showing_source_p): Update. + +2019-09-20 Tom Tromey + + * tui/tui-stack.c (tui_locator_window::set_locator_fullname): + Don't call tui_locator_win_info_ptr. + +2019-09-20 Tom Tromey + + * tui/tui-win.c (tui_resize_all): Don't call refresh. + +2019-09-20 Tom Tromey + + * tui/tui-win.c (tui_resize_all, tui_adjust_win_heights): Use 1 as + height for locator. + * tui/tui-stack.c (tui_locator_window::rerender): Call scrollok. + * tui/tui-layout.c (show_source_disasm_command, show_data) + (show_source_or_disasm_and_command): Use 1 as height for locator. + +2019-09-20 Tom Tromey + + * tui/tui.c (tui_enable): Update. + * tui/tui-win.c (tui_sigwinch_handler, tui_async_resize_screen): + Update. + * tui/tui-data.h (tui_win_resized, tui_set_win_resized_to): + Update. + * tui/tui-data.c (win_resized): Now bool. + (tui_win_resized): Return bool. + (tui_set_win_resized_to): Accept a bool. + +2019-09-20 Tom Tromey + + * tui/tui-regs.h (struct tui_data_window) : + Change type of "refresh_values_only". + * tui/tui-regs.c (tui_data_window::show_register_group): Change + type of "refresh_values_only". + +2019-09-20 Tom Tromey + + * tui/tui-disasm.c (struct tui_asm_line) : Now + std::string. + (tui_disassemble): Add "pos" parameter. + (tui_disasm_window::set_contents): Simplify. + +2019-09-20 Tom Tromey + + * tui/tui-winsource.h (struct tui_source_window_base) + : Now private. + * tui/tui-winsource.c + (tui_source_window_base::show_source_content): Don't handle empty + content case. + +2019-09-20 Tom Tromey + + * tui/tui-layout.c (show_source_disasm_command) + (show_source_or_disasm_and_command): Don't call + show_source_content. + +2019-09-20 Tom Tromey + + * tui/tui-stack.h (struct tui_locator_window) : + Declare. + * tui/tui-stack.c (tui_locator_window::make_status_line): Rename + from tui_make_status_line. + (tui_locator_window::rerender): Update. + +2019-09-20 Tom Tromey + + * tui/tui-stack.c (tui_make_status_line): Return std::string. + (tui_locator_window::rerender): Update. + +2019-09-20 Tom Tromey + + * tui/tui-winsource.h (struct tui_source_window_base) + <~tui_source_window_base>: Don't declare. + : Remove. + * tui/tui-winsource.c (~tui_source_window_base): Remove. + * tui/tui-source.h (struct tui_source_window) : New + member. + * tui/tui-source.c (tui_source_window::set_contents): Update. + (tui_source_window::location_matches_p) + (tui_source_window::maybe_update): Update. + +2019-09-20 Tom Tromey + + * tui/tui-winsource.h (~tui_source_element): Remove. + (tui_source_element): Update. + (struct tui_source_element) : Now a unique_xmalloc_ptr. + * tui/tui-winsource.c (tui_show_source_line): Update. + * tui/tui-source.c (tui_source_window::set_contents): Update. + * tui/tui-disasm.c (tui_disasm_window::set_contents): Update. + +2019-09-20 Tom Tromey + + * tui/tui-data.h (tui_clear_source_windows_detail): Don't + declare. + * tui/tui-layout.c (tui_add_win_to_layout): Don't call + tui_clear_source_windows_detail. + * tui/tui-winsource.h (struct tui_source_window_base) + : Don't declare. + * tui/tui-winsource.c (tui_source_window_base::clear_detail): + Remove. + * tui/tui-data.c (tui_clear_source_windows_detail): Remove. + +2019-09-20 Tom Tromey + + PR ada/24919: + * block.c (contained_in): Fix final return value. + +2019-09-20 Alan Modra + + * gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Use bfd_set_usrdata. + * dwarf2read.c (dwarf2_read_gdb_index, dwarf2_read_debug_names), + (read_indirect_string_from_dwz): Use bfd accessor. + * dwarf2read.h (struct dwz_file ): Likewise. + * machoread.c (macho_symfile_read_all_oso): Likewise. + * solib.c (solib_bfd_open): Likewise. + +2019-09-19 Christian Biesinger + + * eval.c: Move declaration of overload_resolution to... + * value.h: ...here. + +2019-09-19 Christian Biesinger + + * arm-linux-nat.c: Remove extern declaration for arm_apcs_32. + * arm-linux-tdep.c: Likewise. + * arm-nbsd-nat.c: Likewise. + * arm-tdep.h: Declare arm_apcs_32. + * arm-tdep.c: Move documentation for arm_apcs_32 to arm-tdep.h. + +2019-09-19 Christian Biesinger + + * dwarf2loc.c: Remove extern declaration of dwarf_always_disassemble. + * dwarf2read.h: Declare dwarf_always_disassemble. + +2019-09-19 Tom de Vries + + PR gdb/25009 + * source-cache.c (source_cache::ensure): Catch exception thrown during + construction of the highlighter. + +2019-09-18 Alan Modra + + * aarch64-linux-tdep.c, * arm-tdep.c, * auto-load.c, + * coff-pe-read.c, * coffread.c, * corelow.c, * dbxread.c, + * dicos-tdep.c, * dwarf2-frame.c, * dwarf2read.c, * elfread.c, + * exec.c, * fbsd-tdep.c, * gcore.c, * gdb_bfd.c, * gdb_bfd.h, + * hppa-tdep.c, * i386-cygwin-tdep.c, * i386-fbsd-tdep.c, + * i386-linux-tdep.c, * jit.c, * linux-tdep.c, * machoread.c, + * maint.c, * mdebugread.c, * minidebug.c, * mips-linux-tdep.c, + * mips-sde-tdep.c, * mips-tdep.c, * mipsread.c, * nto-tdep.c, + * objfiles.c, * objfiles.h, * osabi.c, * ppc-linux-tdep.c, + * ppc64-tdep.c, * record-btrace.c, * record-full.c, * remote.c, + * rs6000-aix-tdep.c, * rs6000-tdep.c, * s390-linux-tdep.c, + * s390-tdep.c, * solib-aix.c, * solib-dsbt.c, * solib-frv.c, + * solib-spu.c, * solib-svr4.c, * solib-target.c, + * spu-linux-nat.c, * spu-tdep.c, * symfile-mem.c, * symfile.c, + * symmisc.c, * symtab.c, * target.c, * windows-nat.c, + * xcoffread.c, * cli/cli-dump.c, * compile/compile-object-load.c, + * mi/mi-interp.c: Update throughout for bfd section macro and + function changes. + * gcore (gcore_create_callback): Use bfd_set_section_lma. + * spu-tdep.c (spu_overlay_new_objfile): Likewise. + +2019-09-18 Tom Tromey + + * NEWS: Add entry. + * tui/tui.c (tui_initialize_readline): Set name of keymap. Do not + call rl_initialize. + (tui_enable): Do not call rl_initialize. + +2019-09-18 Christian Groessler + + * alpha-linux-nat.c: Include gdbarch.h. + +2019-09-18 Simon Marchi + + * ui-file.c: Include cli/cli-style.h. + (term_cli_styling): Remove cli_styling declaration. + +2019-09-18 Alan Modra + + * arm-tdep.c (arm_record_special_symbol): Update bfd_get_section + to bfd_asymbol_section. + +2019-09-18 Alan Modra + + * amd64-dicos-tdep.c (amd64_dicos_osabi_sniffer): Constify target. + * i386-cygwin-tdep.c (i386_cygwin_init_abi): Likewise. + * i386-dicos-tdep.c (i386_dicos_osabi_sniffer): Likewise. + +2019-09-18 Alan Modra + + * solib-spu.c (spu_bfd_open): Use bfd_set_filename. + * spu-linux-nat.c (spu_bfd_open): Likewise. + +2019-09-18 Christian Biesinger + + * dwarf2loc.c: Change extern declaration of dwarf_always_disassemble + to bool to match definition in dwarf2read.c. + +2019-09-17 Christian Biesinger + + * ada-lang.c (ada_ignore_descriptive_types_p): Change to bool. + (print_signatures): Likewise. + (trust_pad_over_xvs): Likewise. + * arch/aarch64-insn.c (aarch64_debug): Likewise. + * arch/aarch64-insn.h (aarch64_debug): Likewise. + * arm-linux-nat.c (arm_apcs_32): Likewise. + * arm-linux-tdep.c (arm_apcs_32): Likewise. + * arm-nbsd-nat.c (arm_apcs_32): Likewise. + * arm-tdep.c (arm_debug): Likewise. + (arm_apcs_32): Likewise. + * auto-load.c (debug_auto_load): Likewise. + (auto_load_gdb_scripts): Likewise. + (global_auto_load): Likewise. + (auto_load_local_gdbinit): Likewise. + (auto_load_local_gdbinit_loaded): Likewise. + * auto-load.h (global_auto_load): Likewise. + (auto_load_local_gdbinit): Likewise. + (auto_load_local_gdbinit_loaded): Likewise. + * breakpoint.c (disconnected_dprintf): Likewise. + (breakpoint_proceeded): Likewise. + (automatic_hardware_breakpoints): Likewise. + (always_inserted_mode): Likewise. + (target_exact_watchpoints): Likewise. + (_initialize_breakpoint): Update. + * breakpoint.h (target_exact_watchpoints): Change to bool. + * btrace.c (maint_btrace_pt_skip_pad): Likewise. + * cli/cli-cmds.c (trace_commands): Likewise. + * cli/cli-cmds.h (trace_commands): Likewise. + * cli/cli-decode.c (add_setshow_boolean_cmd): Change int* argument + to bool*. + * cli/cli-logging.c (logging_overwrite): Change to bool. + (logging_redirect): Likewise. + (debug_redirect): Likewise. + * cli/cli-option.h (option_def) : Change return type to bool*. + (struct boolean_option_def) : Change return type + to bool. + : Update. + (struct flag_option_def): Change default type of Context to bool + from int. + : Change return type of var_address_cb_ to bool*. + * cli/cli-setshow.c (do_set_command): Cast to bool* instead of int*. + (get_setshow_command_value_string): Likewise. + * cli/cli-style.c (cli_styling): Change to bool. + (source_styling): Likewise. + * cli/cli-style.h (source_styling): Likewise. + (cli_styling): Likewise. + * cli/cli-utils.h (struct qcs_flags) : Change + to bool. + * command.h (var_types): Update comment. + (add_setshow_boolean_cmd): Change int* var argument to bool*. + * compile/compile-cplus-types.c (debug_compile_cplus_types): Change to + bool. + (debug_compile_cplus_scopes): Likewise. + * compile/compile-internal.h (compile_debug): Likewise. + * compile/compile.c (compile_debug): Likewise. + (struct compile_options) : Likewise. + * cp-support.c (catch_demangler_crashes): Likewise. + * cris-tdep.c (usr_cmd_cris_version_valid): Likewise. + (usr_cmd_cris_dwarf2_cfi): Likewise. + * csky-tdep.c (csky_debug): Likewise. + * darwin-nat.c (enable_mach_exceptions): Likewise. + * dcache.c (dcache_enabled_p): Likewise. + * defs.h (info_verbose): Likewise. + * demangle.c (demangle): Likewise. + (asm_demangle): Likewise. + * dwarf-index-cache.c (debug_index_cache): Likewise. + * dwarf2-frame.c (dwarf2_frame_unwinders_enabled_p): Likewise. + * dwarf2-frame.h (dwarf2_frame_unwinders_enabled_p): Likewise. + * dwarf2read.c (check_physname): Likewise. + (use_deprecated_index_sections): Likewise. + (dwarf_always_disassemble): Likewise. + * eval.c (overload_resolution): Likewise. + * event-top.c (set_editing_cmd_var): Likewise. + (exec_done_display_p): Likewise. + * event-top.h (set_editing_cmd_var): Likewise. + (exec_done_display_p): Likewise. + * exec.c (write_files): Likewise. + * fbsd-nat.c (debug_fbsd_lwp): Likewise + (debug_fbsd_nat): Likewise. + * frame.h (struct frame_print_options) : + Likewise. + (struct set_backtrace_options) : Likewise. + Likewise. + * gdb-demangle.h (demangle): Likewise. + (asm_demangle): Likewise. + * gdb_bfd.c (bfd_sharing): Likewise. + * gdbcore.h (write_files): Likewise. + * gdbsupport/common-debug.c (show_debug_regs): Likewise. + * gdbsupport/common-debug.h (show_debug_regs): Likewise. + * gdbthread.h (print_thread_events): Likewise. + * gdbtypes.c (opaque_type_resolution): Likewise. + (strict_type_checking): Likewise. + * gnu-nat.c (gnu_debug_flag): Likewise. + * guile/scm-auto-load.c (auto_load_guile_scripts): Likewise. + * guile/scm-param.c (pascm_variable): Add boolval. + (add_setshow_generic): Update. + (pascm_param_value): Update. + (pascm_set_param_value_x): Update. + * hppa-tdep.c (hppa_debug): Change to bool.. + * infcall.c (may_call_functions_p): Likewise. + (coerce_float_to_double_p): Likewise. + (unwind_on_signal_p): Likewise. + (unwind_on_terminating_exception_p): Likewise. + * infcmd.c (startup_with_shell): Likewise. + * inferior.c (print_inferior_events): Likewise. + * inferior.h (startup_with_shell): Likewise. + (print_inferior_events): Likewise. + * infrun.c (step_stop_if_no_debug): Likewise. + (detach_fork): Likewise. + (debug_displaced): Likewise. + (disable_randomization): Likewise. + (non_stop): Likewise. + (non_stop_1): Likewise. + (observer_mode): Likewise. + (observer_mode_1): Likewise. + (set_observer_mode): Update. + (sched_multi): Change to bool. + * infrun.h (debug_displaced): Likewise. + (sched_multi): Likewise. + (step_stop_if_no_debug): Likewise. + (non_stop): Likewise. + (disable_randomization): Likewise. + * linux-tdep.c (use_coredump_filter): Likewise. + (dump_excluded_mappings): Likewise. + * linux-thread-db.c (auto_load_thread_db): Likewise. + (check_thread_db_on_load): Likewise. + * main.c (captured_main_1): Update. + * maint-test-options.c (struct test_options_opts) : Change to bool. + * maint-test-settings.c (maintenance_test_settings_boolean): Likewise. + * maint.c (maintenance_profile_p): Likewise. + (per_command_time): Likewise. + (per_command_space): Likewise. + (per_command_symtab): Likewise. + * memattr.c (inaccessible_by_default): Likewise. + * mi/mi-main.c (mi_async): Likewise. + (mi_async_1): Likewise. + * mips-tdep.c (mips64_transfers_32bit_regs_p): Likewise. + * nat/fork-inferior.h (startup_with_shell): Likewise. + * nat/linux-namespaces.c (debug_linux_namespaces): Likewise. + * nat/linux-namespaces.h (debug_linux_namespaces): Likewise. + * nios2-tdep.c (nios2_debug): Likewise. + * or1k-tdep.c (or1k_debug): Likewise. + * parse.c (parser_debug): Likewise. + * parser-defs.h (parser_debug): Likewise. + * printcmd.c (print_symbol_filename): Likewise. + * proc-api.c (procfs_trace): Likewise. + * python/py-auto-load.c (auto_load_python_scripts): Likewise. + * python/py-param.c (union parmpy_variable): Add "bool boolval" field. + (set_parameter_value): Update. + (add_setshow_generic): Update. + * python/py-value.c (copy_py_bool_obj): Change argument from int* + to bool*. + * python/python.c (gdbpy_parameter_value): Cast to bool* instead of + int*. + * ravenscar-thread.c (ravenscar_task_support): Change to bool. + * record-btrace.c (record_btrace_target::store_registers): Update. + * record-full.c (record_full_memory_query): Change to bool. + (record_full_stop_at_limit): Likewise. + * record-full.h (record_full_memory_query): Likewise. + * remote-notif.c (notif_debug): Likewise. + * remote-notif.h (notif_debug): Likewise. + * remote.c (use_range_stepping): Likewise. + (interrupt_on_connect): Likewise. + (remote_break): Likewise. + * ser-tcp.c (tcp_auto_retry): Likewise. + * ser-unix.c (serial_hwflow): Likewise. + * skip.c (debug_skip): Likewise. + * solib-aix.c (solib_aix_debug): Likewise. + * spu-tdep.c (spu_stop_on_load_p): Likewise. + (spu_auto_flush_cache_p): Likewise. + * stack.c (struct backtrace_cmd_options) : + Likewise. + (struct info_print_options) : Likewise. + * symfile-debug.c (debug_symfile): Likewise. + * symfile.c (auto_solib_add): Likewise. + (separate_debug_file_debug): Likewise. + * symfile.h (auto_solib_add): Likewise. + (separate_debug_file_debug): Likewise. + * symtab.c (basenames_may_differ): Likewise. + (struct filename_partial_match_opts) : Likewise. + (struct info_print_options) : Likewise. + (struct info_types_options) : Likewise. + * symtab.h (demangle): Likewise. + (basenames_may_differ): Likewise. + * target-dcache.c (stack_cache_enabled_1): Likewise. + (code_cache_enabled_1): Likewise. + * target.c (trust_readonly): Likewise. + (may_write_registers): Likewise. + (may_write_memory): Likewise. + (may_insert_breakpoints): Likewise. + (may_insert_tracepoints): Likewise. + (may_insert_fast_tracepoints): Likewise. + (may_stop): Likewise. + (auto_connect_native_target): Likewise. + (target_stop_and_wait): Update. + (target_async_permitted): Change to bool. + (target_async_permitted_1): Likewise. + (may_write_registers_1): Likewise. + (may_write_memory_1): Likewise. + (may_insert_breakpoints_1): Likewise. + (may_insert_tracepoints_1): Likewise. + (may_insert_fast_tracepoints_1): Likewise. + (may_stop_1): Likewise. + * target.h (target_async_permitted): Likewise. + (may_write_registers): Likewise. + (may_write_memory): Likewise. + (may_insert_breakpoints): Likewise. + (may_insert_tracepoints): Likewise. + (may_insert_fast_tracepoints): Likewise. + (may_stop): Likewise. + * thread.c (struct info_threads_opts) : Likewise. + (make_thread_apply_all_options_def_group): Change argument from int* + to bool*. + (thread_apply_all_command): Update. + (print_thread_events): Change to bool. + * top.c (confirm): Likewise. + (command_editing_p): Likewise. + (history_expansion_p): Likewise. + (write_history_p): Likewise. + (info_verbose): Likewise. + * top.h (confirm): Likewise. + (history_expansion_p): Likewise. + * tracepoint.c (disconnected_tracing): Likewise. + (circular_trace_buffer): Likewise. + * typeprint.c (print_methods): Likewise. + (print_typedefs): Likewise. + * utils.c (debug_timestamp): Likewise. + (sevenbit_strings): Likewise. + (pagination_enabled): Likewise. + * utils.h (sevenbit_strings): Likewise. + (pagination_enabled): Likewise. + * valops.c (overload_resolution): Likewise. + * valprint.h (struct value_print_options) : + Likewise. + * windows-nat.c (new_console): Likewise. + (cygwin_exceptions): Likewise. + (new_group): Likewise. + (debug_exec): Likewise. + (debug_events): Likewise. + (debug_memory): Likewise. + (debug_exceptions): Likewise. + (useshell): Likewise. + * windows-tdep.c (maint_display_all_tib): Likewise. + * xml-support.c (debug_xml): Likewise. + +2019-09-17 Mike Gulick + + * source.c (prepare_path_for_appending): New function. + (openp): Make use of new function. + (find_and_open_source): Search for the compilation directory and + source file as a relative path beneath the directory search path. + +2019-09-17 Andrew Burgess + + * source-cache.c (source_cache::get_line_charpos): Catch + exceptions and return false, this matches the behaviour documented + in the header file. + +2019-09-17 Joel Brobecker + + * ada-tasks.c (info_task): Remove quoting of the task's name. + +2019-09-16 Christian Biesinger + + * symfile.c (auto_solib_add): Replace comment with a reference + to the header file. + +2019-09-14 Christian Biesinger + + * NEWS: Mention that gdb can now be compiled with Python 3 + on Windows. + +2019-09-12 Andrew Burgess + + * maint.c (maint_print_section_data::maint_print_section_data): + Force use of 'float log10 (float)' by casting the argument to + float. + +2019-09-12 Andrew Burgess + + * maint.c: Add 'cmath' include. + (struct maint_print_section_data): New structure. + (print_section_index): New function. + (print_bfd_section_info): Add header comment, small whitespace + cleanup, and update to call new print_section_index function. + (print_objfile_section_info): Likewise. + (maint_obj_section_from_bfd_section): New function. + (print_bfd_section_info_maybe_relocated): New function. + (maintenance_info_sections): Add header comment, always use + bfd_map_over_sections instead of ALL_OBJFILE_OSECTIONS. + +2019-09-12 Andrew Burgess + + * psymtab.c (find_pc_sect_psymtab): Move baseaddr local into more + inner scope, add check that the objfile has psymtabs before + checking psymtabs_addrmap. + * psymtab.h (psymtab_storage) : Extend comment. + +2019-09-12 Philippe Waroquiers + + * NEWS: Announce that Ada task names are now shown at more places, + and between quotes (except in info task output). + * gdb/ada-tasks.c (task_to_str): New function. + (display_current_task_id): Call task_to_str. + (task_command_1): Likewise. + (print_ada_task_info): In non-mi mode, Properly align headers and data + when task-id length is > 9 (9 is the default for a 32 bits CORE_ADDR). + +2019-09-12 Rainer Orth + + * procfs.c (procfs_target::wait) : Get signal from + prstatus.pr_lwp.pr_info instead of making it up. + +2019-09-11 Christian Biesinger + + * auto-load.c (auto_load_expand_dir_vars): Update. + * defs.h (gdb_datadir): Change to std::string. + (python_libdir): Likewise. + (relocate_gdb_directory): Change return type to std::string. + * guile/guile.c (gdbscm_data_directory): Update. + (initialize_scheme_side): Update. + * jit.c (jit_reader_dir): Change to std::string. + (jit_reader_load_command): Update. + * main.c (gdb_datadir): Change to std::string. + (python_libdir): Likewise. + (set_gdb_data_directory): Update. + (relocate_path): Change to return std::string. + (relocate_gdb_directory): Change to return std::string. + (relocate_gdbinit_path_maybe_in_datadir): Update. + (captured_main_1): Update. + * python/python.c (do_start_initialization): Update. + * top.c (show_gdb_datadir): Update. + * xml-syscall.c (xml_init_syscalls_info): Update. + (init_syscalls_info): Update. + +2019-09-11 Christian Biesinger + + * main.c (relocate_gdbinit_path_maybe_in_datadir): Factor this code + out of get_init_files. + (get_init_files): Update. + +2019-09-11 Christian Biesinger + + * main.c (get_init_files): Change to use std::string. + (captured_main_1): Update. + (print_gdb_help): Update. + +2019-09-11 Ali Tamur + + *gdb/target-float.c (host_float_ops::to_longest): Update + implementation. + +2019-09-11 Christian Biesinger + + * dbxread.c (read_dbx_symtab): Update. + * dwarf2read.c (load_partial_dies): Update. + * mdebugread.c (parse_partial_symbols): Update. + (handle_psymbol_enumerators): Update. + * psympriv.h (add_psymbol_to_list): Change type of copy_names to bool. + * psymtab.c (add_psymbol_to_bcache): Likewise. + (add_psymbol_to_list): Likewise. + * symtab.c (symbol_set_names): Likewise. + * symtab.h (symbol_set_names): Likewise. + * xcoffread.c (scan_xcoff_symtab): Update. + +2019-09-11 Tom Tromey + + * symfile-mem.c (symbol_file_add_from_memory): Use + bfd_set_filename. + * solib-darwin.c (darwin_bfd_open): Use bfd_set_filename. + * solib-aix.c (solib_aix_bfd_open): Use bfd_set_filename. + +2019-09-10 Tom Tromey + + * dwarf-index-write.c (write_psymbols): Extend error message. + (debug_names::insert): Add Ada code. + (debug_names::write_psymbols): Remove Ada check. + (debug_names) : New member. + * dwarf2read.c (gdb_index_symbol_name_matcher): Remove. + (gdb_index_symbol_name_matcher::matches): Remove. + (mapped_index_base::find_name_components_bounds): Add "lang" + parameter. + (mapped_index_base::build_name_components): Also split names + according to Ada syntax. + (dw2_expand_symtabs_matching_symbol): Loop over languages. Change + type of "match_callback". + (check_match, check_find_bounds_finds) + (dw2_expand_symtabs_matching): Update. + (dw2_debug_names_iterator): Add new constructor. + (dw2_debug_names_map_matching_symbols): New function. + (dw2_debug_names_expand_symtabs_matching): Update. + (dwarf2_debug_names_functions): Use + dw2_debug_names_map_matching_symbols. + +2019-09-10 Tom Tromey + + * dwarf2read.c (dw2_get_file_names_reader): Add the + CU's file name to the results. + +2019-09-10 Tom Tromey + + * ada-lang.c (add_nonlocal_symbols): Combine calls to + map_matching_symbols. Update. + * dwarf2read.c (dw2_map_matching_symbols): Update. + * psymtab.c (match_partial_symbol): Change type; update. + (psym_map_matching_symbols): Likewise. + * symfile-debug.c (debug_qf_map_matching_symbols): Change + type; update. + * symfile.h (struct quick_symbol_functions) + : Change "name" to be a lookup_name_info. + Remove "match". + +2019-09-10 Tom Tromey + + * psymtab.c (map_block): Remove. + (psym_map_matching_symbols): Use iterate_over_symbols_terminated. + * symtab.c (iterate_over_symbols_terminated): New function. + * symtab.c (iterate_over_symbols_terminated): Declare. + +2019-09-10 Tom Tromey + + * ada-lang.c (ada_iterate_over_symbols): Return bool. + * language.h (struct language_defn) : + Return bool. + * symtab.c (iterate_over_symbols): Return bool. + * symtab.h (iterate_over_symbols): Return bool. + +2019-09-10 Tom Tromey + + * ada-lang.c (aux_add_nonlocal_symbols): Change type. + (add_nonlocal_symbols): Update. + * dwarf2read.c (dw2_map_matching_symbols): Change type. + * psymtab.c (map_block, psym_map_matching_symbols): Change type. + * symfile-debug.c (debug_qf_map_matching_symbols): Change type. + * symfile.h (struct quick_symbol_functions) : + Change type of "callback". Remove "data". + + +2019-09-09 Ali Tamur + + * dwarf2read.c (comp_unit_head): Update comment. + (dwarf2_dwo_name): New function declaration. + (dwarf_unit_type_name): New function declaration. + (read_comp_unit_head): Add support for new compilation units, + DW_UT_partial, DW_UT_skeleton, DW_UT_split_compile, DW_UT_split_type. + Particularly, DW_UT_skeleton and DW_UT_split_compile have dwo_id + (currently named as "signature") in their header. Also clarify error + messages. + (lookup_dwo_id): New function. Returns the dwo id of the given + compile unit. + (lookup_dwo_unit): Use the new lookup_dwo_id function. + (init_cutu_and_read_dies): Use the new dwarf2_dwo_name and lookup_dwo_id + functions. + (create_dwo_cu_reader): Use the added lookup_dwo_id function. + (dwarf2_dwo_name): Get the dwo name if present. + (dwarf_unit_type_name): Convert DW_UT_* types to string for diagnostic + purposes. + +2019-09-09 Tom Tromey + + * tui/tui-win.c (tui_all_windows_info): Use ui_out. + +2019-09-09 Philippe Waroquiers + + * python/python.c (do_start_initialization): Make progname_copy static, + to avoid a leak report. + +2019-09-08 Tom Tromey + + * tui/tui-wingeneral.c (box_win): Truncate long window titles. + +2019-09-07 Simon Marchi + + * dwarf2read.c (struct dw2_symtab_iterator) : + Change type to gdb::optional. + (dw2_symtab_iter_init): Change block_index parameter type + to gdb::optional. + (dw2_lookup_symbol): Change block_index parameter + type to block_enum.c + (dw2_debug_names_lookup_symbol): Likewise. + * psymtab.c (psym_lookup_symbol): Likewise. + * symfile-debug.c (debug_qf_lookup_symbol): Likewise. + * symfile.h (struct quick_symbol_functions) : + Likewise. + +2019-09-06 Christian Biesinger + + * defs.h (relocate_gdb_directory): Change int to bool in + signature and rename flag to relocatable. + * main.c (relocate_path): Likewise. + (relocate_gdb_directory): Likewise. + +2019-09-06 Alan Modra + + * coffread.c (coff_symfile_read): Constify filename variable. + * dbxread.c (dbx_symfile_init, coffstab_build_psymtabs), + (elfstab_build_psymtabs, stabsect_build_psymtabs): Likewise. + * gdb_bfd.c (gdb_bfd_close_or_warn): Likewise. + * solib.c (reload_shared_libraries_1): Likewise. + * symfile.c (reread_symbols): Likewise. + * solib-aix.c (solib_aix_bfd_open): Add cast for xfree of filename. + * solib-darwin.c (darwin_bfd_open): Likewise. + * symfile-mem.c (symbol_file_add_from_memory): Likewise. + +2019-09-03 Andrew Burgess + + * psymtab.c (print_partial_symbols): Handle missing domain_enum + values MODULE_DOMAIN and COMMON_BLOCK_DOMAIN. + +2019-09-03 Tom Tromey + + * ada-valprint.c (ada_val_print_num): Don't recurse for range + types. + (has_negatives): Unbias a range type bound. + * dwarf2read.c (read_subrange_type): Handle DW_AT_GNU_bias. + * gdbtypes.c (operator==): Handle new field. + (create_range_type): Add "bias" parameter. + (create_static_range_type, resolve_dynamic_range): Update. + * gdbtypes.h (struct range_bounds) : New member. + (create_range_type): Add bias parameter. + * printcmd.c (print_scalar_formatted): Unbias range types. + * value.c (unpack_long): Unbias range types. + (pack_long): Bias range types. + +2019-09-02 Alan Hayward + + * solib-svr4.c (svr4_find_and_create_probe_breakpoints): Check all + probe arguments. + +2019-09-02 Alan Hayward + + * break-catch-throw.c (fetch_probe_arguments): Use gdbarch. + * dtrace-probe.c (dtrace_probe::get_argument_count): Likewise. + * probe.c (probe_safe_evaluate_at_pc) (compute_probe_arg) + (compile_probe_arg): Likewise. + * probe.h (get_argument_count): Likewise. + * solib-svr4.c (solib_event_probe_action): Likewise. + * stap-probe.c (stap_probe::get_argument_count): Likewise. + +2019-09-02 Alan Hayward + + * solib-svr4.c (svr4_find_and_create_probe_breakpoints): Move + code to here... + (svr4_create_solib_event_breakpoints): ...from here. + +2019-08-30 Sergio Durigan Junior + + * nat/fork-inferior.c (trace_start_error): Remove "\nError: " + suffix from warning message. + +2019-08-30 Tom Tromey + + * tui/tui-winsource.h (struct tui_source_window_base) + : Don't declare. + * tui/tui-winsource.c (tui_source_window_base::refresh_all): + Remove. + * tui/tui-win.c (tui_refresh_all_win): Don't call refresh_all or + tui_show_locator_content. + * tui/tui-regs.h (struct tui_data_window) : Don't + declare. + * tui/tui-regs.c (tui_data_window::refresh_all): Remove. + * tui/tui-data.h (struct tui_win_info) : Don't + declare. + +2019-08-30 Tom Tromey + + * tui/tui-io.c (tui_cont_sig): Don't call wrefresh. + +2019-08-30 Tom Tromey + + * tui/tui-stack.c (_initialize_tui_stack): Move later. + Remove unnecessary forward declarations. + +2019-08-30 Tom Tromey + + * tui/tui-stack.c (tui_locator_window::set_locator_fullname): Call + rerender. + (tui_update_locator_fullname, tui_show_frame_info): Don't call + tui_show_locator_content. + +2019-08-30 Tom Tromey + + * tui/tui-stack.c (tui_show_locator_content): Move lower. Rewrite. + (tui_locator_window::rerender): Rewrite using body of previous + tui_show_locator_content. + +2019-08-30 Tom Tromey + + * tui/tui-stack.h (struct tui_locator_window) : New methods. + * tui/tui-stack.c (tui_locator_window::set_locator_fullname): + Rename from tui_set_locator_fullname. + (tui_locator_window::set_locator_info): Rename from + tui_set_locator_info. Return bool. + (tui_update_locator_fullname, tui_show_frame_info): Update. + +2019-08-30 Tom Tromey + + * tui/tui-layout.c (show_layout): Don't call tui_refresh_all. + 2019-08-30 Tom Tromey * tui/tui-wingeneral.c (tui_gen_win_info::refresh_window): Don't @@ -5166,6 +6123,7 @@ 2019-05-16 Sergio Durigan Junior + PR breakpoints/24541 * stap-probe.c (stap_parse_register_operand): Make "regname" an "std::string", simplifying the algorithm.