X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=188984ee8029044a1929fca7e6cedf13b97bea2c;hb=b5457826744f08208a4c29addbbc26c7c877c485;hp=3b28884267b30a3c22c4991949b1951e88e83ae4;hpb=67547d896b0593b0fa62e23ac68c483a7e8566e2;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3b28884267..188984ee80 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,533 @@ +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. @@ -5414,6 +5944,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.