X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=534e9ffb7c8c92d5881aa67819d72b694048a2ad;hb=d8c06f22a38c849ae1d4488e6e4a7b0c780869b8;hp=41a002498dff1f1d260f82370a37c7850fd779bd;hpb=e4153ae630fcc779ba414fdcea960394cb479e04;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 41a002498d..534e9ffb7c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,822 @@ +2019-10-03 Andrew Burgess + + * linux-nat.c (linux_nat_filter_event): Don't ignore SIGSTOP if we + have just sent the thread a SIGSTOP and are waiting for it to + arrive. + +2019-10-03 Andrew Burgess + + * btrace.c (btrace_add_pc): Remove whitespace before the template + parameter in 'std::vector <...>'. + (parse_xml_btrace_block): Likewise. + (btrace_maint_decode_pt): Likewise. + (btrace_maint_update_packets): Likewise. + (btrace_maint_print_packets): Likewise. + * btrace.h (struct btrace_maint_info): Likewise. + * dwarf2read.c (struct type_unit_group): Likewise. + (build_type_psymtabs_reader): Likewise. + * gdbsupport/btrace-common.c (btrace_data_append): Likewise. + * gdbsupport/btrace-common.h (struct btrace_data_bts): Likewise. + * nat/linux-btrace.c (perf_event_read_bts): Likewise. + +2019-10-03 Tom de Vries + + * cli/cli-style.c (_initialize_cli_style): Adding a '.' at the end of + the first line of the help text for set/show style metadata. + +2019-10-02 Tom Tromey + + * Makefile.in (COMMON_SFILES): Add common-inferior.c. + * gdbsupport/common-inferior.c: New file. + * infcmd.c (startup_with_shell): Don't define. + * nat/fork-inferior.h (startup_with_shell): Don't declare. + * gdbsupport/common-inferior.h (startup_with_shell): Declare. + * inferior.h (startup_with_shell): Don't declare. + +2019-10-02 Christian Biesinger + + * gdbsupport/gdb_assert.h: Include errors.h. + * gdbsupport/gdb_string_view.h: Include gdb_assert.h. + +2019-10-02 Tom Tromey + + * NEWS: Add $_ada_exception entry. + * ada-lang.c (struct ada_catchpoint): Add constructor. + : New member. + (allocate_location_exception, re_set_exception): Remove + "ex" parameter. + (should_stop_exception): Compute $_ada_exception. + (check_status_exception, print_it_exception) + (print_one_exception, print_mention_exception): Remove + "ex" parameter. + (allocate_location_catch_exception, re_set_catch_exception) + (check_status_exception, print_it_catch_exception) + (print_one_catch_exception, print_mention_catch_exception) + (print_recreate_catch_exception) + (allocate_location_catch_exception_unhandled) + (re_set_catch_exception_unhandled) + (check_status_exception, print_it_catch_exception_unhandled) + (print_one_catch_exception_unhandled) + (print_mention_catch_exception_unhandled) + (print_recreate_catch_exception_unhandled) + (allocate_location_catch_assert, re_set_catch_assert) + (check_status_assert, print_it_catch_assert) + (print_one_catch_assert, print_mention_catch_assert) + (print_recreate_catch_assert) + (allocate_location_catch_handlers, re_set_catch_handlers) + (check_status_handlers, print_it_catch_handlers) + (print_one_catch_handlers, print_mention_catch_handlers) + (print_recreate_catch_handlers): Remove. + (create_ada_exception_catchpoint): Update. + (initialize_ada_catchpoint_ops): Update. + +2019-10-02 Tom Tromey + + * ada-lang.c (ada_lookup_simple_minsyms): Remove. + (create_excep_cond_exprs): Simplify exception string computation. + (ada_exception_catchpoint_cond_string): Likewise. + +2019-10-02 Tom Tromey + + * symmisc.c (dump_msymbols): Don't use MSYMBOL_VALUE_ADDRESS. + * ada-lang.c (lesseq_defined_than): Handle + LOC_STATIC. + * dwarf2read.c (dwarf2_per_objfile): Add can_copy + parameter. + (dwarf2_has_info): Likewise. + (new_symbol): Set maybe_copied on symbol when + appropriate. + * dwarf2read.h (dwarf2_per_objfile): Add can_copy + parameter. + : New member. + * elfread.c (record_minimal_symbol): Set maybe_copied + on symbol when appropriate. + (elf_symfile_read): Update call to dwarf2_has_info. + * minsyms.c (lookup_minimal_symbol_linkage): New + function. + * minsyms.h (lookup_minimal_symbol_linkage): Declare. + * symtab.c (get_symbol_address, get_msymbol_address): + New functions. + * symtab.h (get_symbol_address, get_msymbol_address): + Declare. + (SYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_ADDRESS): Handle + maybe_copied. + (struct symbol, struct minimal_symbol) : + New member. + +2019-10-02 Tom Tromey + + * source.c (struct current_source_location): New. + (current_source_key): New global. + (current_source_symtab, current_source_line) + (current_source_pspace): Remove. + (get_source_location): New function. + (get_current_source_symtab_and_line) + (set_default_source_symtab_and_line) + (set_current_source_symtab_and_line) + (clear_current_source_symtab_and_line, select_source_symtab) + (info_source_command, print_source_lines_base) + (info_line_command, search_command_helper, _initialize_source): + Update. + +2019-10-02 Tom Tromey + + * source.c (select_source_symtab): Don't call + decode_line_with_current_source. + +2019-10-02 Andrew Burgess + + * symtab.c (lookup_global_symbol): Search global block. + +2019-10-02 Tom Tromey + + * coffread.c (process_coff_symbol): Update. + * dwarf2read.c (var_decode_location, new_symbol): Update. + * mdebugread.c (parse_symbol): Update. + * objfiles.c (relocate_one_symbol): Update. + * stabsread.c (define_symbol, fix_common_block) + (scan_file_globals): Update. + * symtab.h (SYMBOL_VALUE_ADDRESS): Expand to an rvalue. + (SET_SYMBOL_VALUE_ADDRESS): New macro. + * xcoffread.c (process_xcoff_symbol): Update. + +2019-10-02 Andreas Arnez + + * MAINTAINERS: Update my email address. + +2019-10-02 Andrew Burgess + + * dwarf2read.c (struct type_unit_group) : Convert to + std::vector. + (build_type_psymtabs_reader): Update for std::vector. + (build_type_psymtab_dependencies): Likewise. + * dwarf2read.h: Remove use of DEF_VEC_P. + (typedef sig_type_ptr): Delete. + +2019-10-02 Andrew Burgess + + * btrace.c (btrace_maint_clear): Update to handle change from VEC + to std::vector. + (btrace_maint_decode_pt): Likewise, and move allocation of the + vector outside of the loop. + (btrace_maint_update_packets): Update to handle change from VEC to + std::vector. + (btrace_maint_print_packets): Likewise. + (maint_info_btrace_cmd): Likewise. + * btrace.h: Remove use of DEF_VEC_O. + (typedef btrace_pt_packet_s): Delete. + (struct btrace_maint_info) : Change fromm VEC to + std::vector. + * gdbsupport/btrace-common.h: Remove 'vec.h' include. + +2019-10-02 Andrew Burgess + + * btrace.c (btrace_compute_ftrace_bts): Update for std::vector, + make accesses into the vector constant references. + (btrace_add_pc): Update for std::vector. + (btrace_stitch_bts): Likewise. + (parse_xml_btrace_block): Likewise. + (btrace_maint_update_packets): Likewise. + (btrace_maint_print_packets): Likewise. + (maint_info_btrace_cmd): Likewise. + * gdbsupport/btrace-common.c (btrace_data::fini): Update for + std::vector. + (btrace_data::empty): Likewise. + (btrace_data_append): Likewise. + * gdbsupport/btrace-common.h: Remove use of DEF_VEC_O. + (typedef btrace_block_s): Delete. + (struct btrace_block): Add constructor. + (struct btrace_data_bts) : Change to std::vector. + * nat/linux-btrace.c (perf_event_read_bts): Update for + std::vector. + (linux_read_bts): Likewise. + +2019-10-01 Tom Tromey + + * cli/cli-logging.c (show_logging_filename): Use styled_string. + +2019-10-01 Tom Tromey + + * stack.c (print_frame, info_frame_command_core): Use + styled_string. + * linux-thread-db.c (try_thread_db_load_1) + (try_thread_db_load_from_pdir_1): Use styled_string. + * auto-load.c (file_is_auto_load_safe, execute_script_contents) + (auto_load_section_scripts, info_auto_load_local_gdbinit) + (maybe_print_unsupported_script_warning) + (maybe_print_script_not_found_warning): Use styled_string. + * ada-lang.c (user_select_syms): Use styled_string. + +2019-10-01 Tom Tromey + + * p-lang.c (pascal_printstr): Use metadata style. + * value.c (show_convenience): Use metadata style. + * valprint.c (valprint_check_validity, val_print_optimized_out) + (val_print_not_saved, val_print_unavailable) + (val_print_invalid_address, generic_val_print, val_print) + (value_check_printable, val_print_array_elements): Use metadata + style. + * ui-out.h (class ui_out) : New overload. + : Add style parameter. + * ui-out.c (ui_out::field_fmt): New overload. + * typeprint.c (type_print_unknown_return_type) + (val_print_not_allocated, val_print_not_associated): Use metadata + style. + * tui/tui-out.h (class tui_ui_out) : Add style + parameter. + * tui/tui-out.c (tui_ui_out::do_field_fmt): Update. + * tracepoint.c (tvariables_info_1): Use metadata style. + * stack.c (print_frame_arg, print_frame_info, print_frame) + (info_frame_command_core): Use metadata style. + * skip.c (info_skip_command): Use metadata style. + * rust-lang.c (rust_print_enum): Use metadata style. + * python/py-prettyprint.c (print_stack_unless_memory_error): Use + metadata style. + * python/py-framefilter.c (py_print_single_arg): Use metadata + style. + * printcmd.c (do_one_display, print_variable_and_value): Use + metadata style. + * p-valprint.c (pascal_val_print) + (pascal_object_print_value_fields): Use metadata style. + * p-typeprint.c (pascal_type_print_base): Use metadata style. + * mi/mi-out.h (class mi_ui_out) : Add style + parameter. + * mi/mi-out.c (mi_ui_out::do_field_fmt): Update. + * m2-valprint.c (m2_print_long_set): Use metadata style. + * m2-typeprint.c (m2_print_type): Use metadata style. + * infcmd.c (print_return_value_1): Use metadata style. + * gnu-v3-abi.c (print_one_vtable): Use metadata style. + * f-valprint.c (info_common_command_for_block): Use metadata + style. + * f-typeprint.c (f_type_print_base): Use metadata style. + * expprint.c (print_subexp_standard): Use metadata style. + * cp-valprint.c (cp_print_value_fields): Use metadata style. + * cli/cli-style.h (class cli_style_option): Add constructor. + (metadata_style): Declare. + * cli/cli-style.c (metadata_style): New global. + (_initialize_cli_style): Register metadata style. + * cli-out.h (class cli_ui_out) : Add style + parameter. + * cli-out.c (cli_ui_out::do_field_fmt): Update. + * c-typeprint.c (c_type_print_base_struct_union) + (c_type_print_base_1): Use metadata style. + * breakpoint.c (watchpoint_value_print) + (print_one_breakpoint_location): Use metadata style. + * break-catch-syscall.c (print_one_catch_syscall): Use metadata + style. + * break-catch-sig.c (signal_catchpoint_print_one): Use metadata + style. + * ada-valprint.c (val_print_packed_array_elements, printstr) + (print_field_values, ada_val_print_ref, ada_val_print): Use + metadata style. + * ada-typeprint.c (print_array_type, ada_print_type): Use metadata + style. + * ada-tasks.c (print_ada_task_info, info_task): Use metadata + style. + * ada-lang.c (user_select_syms): Use metadata style. + +2019-10-01 Tom Tromey + + * cli/cli-cmds.c (pwd_command): Style output. + +2019-10-01 Pedro Alves + Tom Tromey + + * symtab.c (print_symbol_info): Use %ps. + (print_msymbol_info): Use %ps. + * symfile.c (symbol_file_add_with_addrs): Use %ps. + * printcmd.c (print_variable_and_value): Use %ps. + * macrocmd.c (show_pp_source_pos): Use %ps. + * infrun.c (print_exited_reason): Use ui_out::message. + * breakpoint.c (watchpoint_check, print_one_breakpoint_location) + (describe_other_breakpoints): Use ui_out::message and new + formats. + (say_where): Use new formats. + (bkpt_print_it, tracepoint_print_one_detail): Use ui_out::message + and new formats. + +2019-10-01 Pedro Alves + Tom Tromey + + * unittests/format_pieces-selftests.c: Add gdb_format parameter. + (test_gdb_formats): New function. + (run_tests): Call it. + (test_format_specifier): Update. + * utils.h (fputs_filtered): Update comment. + (vfprintf_styled, vfprintf_styled_no_gdbfmt) + (fputs_styled_unfiltered): Declare. + * utils.c (fputs_styled_unfiltered): New function. + (vfprintf_maybe_filtered): Add gdbfmt parameter. + (vfprintf_filtered): Update. + (vfprintf_unfiltered, vprintf_filtered): Update. + (vfprintf_styled, vfprintf_styled_no_gdbfmt): New functions. + * ui-out.h (enum ui_out_flag) : New constants. + (enum class field_kind): New. + (struct base_field_s, struct signed_field_s): New. + (signed_field): New function. + (struct string_field_s): New. + (string_field): New function. + (struct styled_string_s): New. + (styled_string): New function. + (class ui_out) : Add comment. + : New methods. + : Add style parameter. + * ui-out.c (ui_out::call_do_message, ui_out::vmessage): New + methods. + (ui_out::message): Rewrite. + * mi/mi-out.h (class mi_ui_out) : Add style + parameter. + * mi/mi-out.c (mi_ui_out::do_message): Add style parameter. + * gdbsupport/format.h (class format_pieces) : Add + gdb_extensions parameter. + (class format_piece): Add parameter to constructor. + (n_int_args): New field. + * gdbsupport/format.c (format_pieces::format_pieces): Add + gdb_extensions parameter. Handle '*'. + * cli-out.h (class cli_ui_out) : Add style parameter. + * cli-out.c (cli_ui_out::do_message): Add style parameter. Call + vfprintf_styled_no_gdbfmt. + (cli_ui_out::do_field_string, cli_ui_out::do_spaces) + (cli_ui_out::do_text, cli_ui_out::field_separator): Allow + unfiltered output. + * ui-style.h (struct ui_file_style) : New method. + +2019-10-01 Tom Tromey + + * unittests/format_pieces-selftests.c: Update. Add final format. + * gdbsupport/format.c (format_pieces::format_pieces): Don't add + empty literal pieces. + +2019-10-01 Tom Tromey + + * ui-out.h (enum class ui_out_style_kind): Remove. + (class ui_out) : + Change type of "style". + * ui-out.c (ui_out::field_core_addr, ui_out::field_stream) + (ui_out::field_string): Update. + * tui/tui-out.h (class tui_ui_out) : Change type + of "style". + * tui/tui-out.c (tui_ui_out::do_field_string): Update. + * tracepoint.c (print_one_static_tracepoint_marker): Update. + * stack.c (print_frame_arg, print_frame_info, print_frame): + Update. + * source.c (print_source_lines_base): Update. + * solib.c (info_sharedlibrary_command): Update. + * skip.c (info_skip_command): Update. + * record-btrace.c (btrace_call_history_src_line) + (btrace_call_history): Update. + * python/py-framefilter.c (py_print_frame): Update. + * mi/mi-out.h (class mi_ui_out) : Change type of + "style". + * mi/mi-out.c (mi_ui_out::do_table_header) + (mi_ui_out::do_field_signed, mi_ui_out::do_field_unsigned) + (mi_ui_out::do_field_string): Update. + * disasm.c (gdb_pretty_print_disassembler::pretty_print_insn): + Update. + * cli-out.h (class cli_ui_out) : Change type of + "style". + * cli-out.c (cli_ui_out::do_table_header) + (cli_ui_out::do_field_signed, cli_ui_out::do_field_unsigned) + (cli_ui_out::do_field_skip, cli_ui_out::do_field_string) + (cli_ui_out::do_field_fmt): Update. + * breakpoint.c (print_breakpoint_location): Update. + (update_static_tracepoint): Update. + +2019-10-01 Philippe Waroquiers + + * main.c (relocate_gdbinit_path_maybe_in_datadir): Remove std::string + conversion of gdb_datadir. + (captured_main_1): Remove xstrdup when assigning to gdb_datadir, + remove not needed c_str (). + +2019-09-30 Ali Tamur + + * dwarf2read.c (skip_one_die): Handle DW_FORM_strx forms. + (dwarf2_string_attr): Likewise. + +2019-09-30 Ali Tamur + + * dwarf2read.c (process_full_comp_unit): Remove whitespace at the EOL. + (process_full_type_unit): Likewise. + (dump_die_shallow): Likewise. + (cu_debug_loc_section): Likewise. + +2019-09-28 Christian Biesinger + + * minsyms.c (compare_minimal_symbols): Rename to... + (minimal_symbol_is_less_than): ...this, and adjust to STL + conventions (return bool, take arguments as references) + (minimal_symbol_reader::install): Call std::sort instead + of qsort. + +2019-09-29 Christian Biesinger + + * minsyms.h (msymbol_hash): Document that this is a case-insensitive + hash and why. + * objfiles.h (struct objfile_per_bfd_storage) : Improve comments. + +2019-09-30 Simon Marchi + + * psymtab.c (add_psymbol_to_list): Move comment to psympriv.h. + * psympriv.h (add_psymbol_to_list): Move comment here and update + it. + +2019-09-29 Tom de Vries + + * contrib/cc-with-tweaks.sh (get_tmpdir): New function. + Use $tmpdir/$(basename "$output_file").dwz instead of + "${output_file}.dwz". + +2019-09-28 Simon Marchi + + PR gdb/25045 + * hppa-linux-nat.c: Include gdbarch.h. + +2019-09-26 Christian Biesinger + + * blockframe.c (find_pc_partial_function): Change return type to bool. + * elfread.c (elf_gnu_ifunc_resolve_name): Likewise. + * minsyms.c (in_gnu_ifunc_stub): Likewise. + (stub_gnu_ifunc_resolve_name): Likewise. + * symtab.c (compare_filenames_for_search): Likewise. + (compare_glob_filenames_for_search): Likewise. + (matching_obj_sections): Likewise. + (symbol_matches_domain): Likewise. + (find_line_symtab): Change out param EXACT_MATCH to bool *. + (find_line_pc): Change return type to bool. + (find_line_pc_range): Likewise. + (producer_is_realview): Likewise. + * symtab.h (symbol_matches_domain): Likewise. + (find_pc_partial_function): Likewise. + (find_pc_line_pc_range): Likewise. + (in_gnu_ifunc_stub): Likewise. + (struct gnu_ifunc_fns) : Likewise. + (find_line_pc): Likewise. + (find_line_pc_range): Likewise. + (matching_obj_sections): Likewise. + (find_line_symtab): Change out parameter to bool. + (producer_is_realview): Change return type to bool. + (compare_filenames_for_search): Likewise. + (compare_glob_filenames_for_search): Likewise. + +2019-09-26 Tom Tromey + + * Makefile.in (COMMON_SFILES): Remove gdb_usleep.c. + (HFILES_NO_SRCDIR): Remove gdb_usleep.h. + * gdb_usleep.h: Remove. + * gdb_usleep.c: Remove. + * utils.c: Don't include gdb_usleep.h. + +2019-09-26 Tom Tromey + + * python/py-type.c (type_to_type_object): Call check_typedef + for stub types. + +2019-09-26 Tom Tromey + + * utils.h (initialize_utils): Don't declare. + * top.c (gdb_init): Don't call initialize_utils. + * utils.c (initialize_utils): Remove. Move contents... + (_initialize_utils): ... here. + +2019-09-25 Tom Tromey + + * python/py-objfile.c (objfpy_get_build_id): Use bin2hex. + * utils.h (make_hex_string): Don't declare. + * utils.c (make_hex_string): Remove. + +2019-09-24 Tom de Vries + + PR gdb/23815 + * amd64-linux-nat.c (amd64_linux_nat_target::fetch_registers): + Initialize xstateregs before ptrace PTRACE_GETREGSET call. + +2019-09-23 Dimitar Dimitrov + + * NEWS: Mention new simulator port for PRU. + +2019-09-23 Christian Biesinger + + * ada-exp.y (write_object_remaining): Update. + * ada-lang.c (ada_decode): Return a std::string instead of a char* + and eliminate the static buffer. + (ada_decode_symbol): Update. + (ada_la_decode): Update. + (ada_sniff_from_mangled_name): Update. + (is_valid_name_for_wild_match): Update. + (ada_lookup_name_info::matches): Update and simplify. + (name_matches_regex): Update. + (ada_add_global_exceptions): Update. + * ada-lang.h (ada_decode): Update signature. + * ada-varobj.c (ada_varobj_describe_simple_array_child): Update. + * dwarf-index-write.c (debug_names::insert): Update. + +2019-09-21 Simon Marchi + + * solib-svr4.c (svr4_iterate_over_objfiles_in_search_order): Fix + formatting. + +2019-09-21 Simon Marchi + + * breakpoint.h (bp_location) : + Change "nonzero" to "true" in documentation. + +2019-09-20 Christian Biesinger + + * solib-darwin.c (darwin_lookup_lib_symbol): Remove. + (_initialize_darwin_solib): Don't set + darwin_so_ops.lookup_lib_global_symbol. + * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets): Call + set_gdbarch_iterate_over_objfiles_in_search_order. + (elf_lookup_lib_symbol): Rename to... + (svr4_iterate_over_objfiles_in_search_order): this, and update + to iterate semantics. + (_initialize_svr4_solib): Don't set lookup_lib_global_symbol. + * solib.c (solib_global_lookup): Remove. + * solist.h (struct target_so_ops): Remove lookup_lib_global_symbol. + (solib_global_lookup): Remove. + * symtab.c (lookup_global_or_static_symbol): Remove call to + solib_global_lookup. + +2019-09-20 Joel Brobecker + + * NEWS: Move entries about default MI version now being + version 3, and about the GDB/MI fix for multi-location + breakpoints to the "since GDB 8.3" section. + +2019-09-20 Joel Brobecker + + GDB 8.3.1 released. + +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...