Allow Python commands to be in class_tui
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c57ffe1a7b30ed8c5f01b828073d36ea12fe891e..bd2c9b030ab4cecde7cc201b9b5c752db51a5bd0 100644 (file)
@@ -1,3 +1,654 @@
+2020-04-28  Tom Tromey  <tom@tromey.com>
+
+       * NEWS: Update.
+       * python/py-cmd.c (gdbpy_initialize_commands): Add COMMAND_TUI.
+       (cmdpy_init): Allow class_tui.
+
+2020-04-28 Mark Williams <mark@myosotissp.com>
+
+       PR gdb/24480
+       * dwarf2read.c: Add missing assingments to list_in_scope when
+       start_symtab was already called.
+
+2020-04-28  Simon Marchi  <simon.marchi@efficios.com>
+
+       PR gdb/25881
+       * dwarf2/read.c (offset_map_type): Use
+       gdb:hash_enum<sect_offset> as hash function.
+
+2020-04-28  Tom de Vries  <tdevries@suse.de>
+
+       * dwarf2/read.c (process_structure_scope): Add symbol for struct decl
+       with DW_AT_signature.
+
+2020-04-27  Simon Marchi  <simon.marchi@efficios.com>
+
+       * configure.ac: Remove check for fs_base/gs_base in
+       user_regs_struct.
+       * configure: Re-generate.
+       * config.in: Re-generate.
+       * amd64-nat.c (amd64_native_gregset_reg_offset): Adjust.
+       * amd64-linux-nat.c (amd64_linux_nat_target::fetch_registers,
+       amd64_linux_nat_target::store_registers, ps_get_thread_area, ): Adjust.
+
+2020-04-27  Luis Machado  <luis.machado@linaro.org>
+
+       * dwarf2/frame-tailcall.c (dwarf2_tailcall_sniffer_first): Handle
+       problematic inline frame unwinding situation.
+       * frame.c (frame_id_computed_p): New function.
+       * frame.h (frame_id_computed_p): New prototype.
+
+2020-04-26  Tom Tromey  <tom@tromey.com>
+
+       * command.h (enum command_class) <class_pseudo>: Remove.
+
+2020-04-26  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * cli/cli-decode.c (lookup_cmd_composition): Fix comments
+       and whitespace.
+
+2020-04-25  Kamil Rytarowski  <n54@gmx.com>
+
+       * inf-ptrace.c (inf_ptrace_target::wait): Remove
+       `PT_GET_PROCESS_STATE' block.
+
+2020-04-24  Tom Tromey  <tom@tromey.com>
+
+       * symtab.h (symbol_get_demangled_name): Don't declare.
+       * symtab.c (symbol_get_demangled_name): Remove.
+       (general_symbol_info::natural_name)
+       (general_symbol_info::demangled_name): Update.
+
+2020-04-24  Tom Tromey  <tom@tromey.com>
+
+       PR rust/25025:
+       * dwarf2/read.c (dwarf2_physname): Do not demangle for Rust.
+
+2020-04-24  Tom Tromey  <tom@tromey.com>
+
+       PR symtab/12707:
+       * dwarf2/read.c (add_partial_symbol): Use the linkage name if it
+       exists.
+       (new_symbol): Likewise.
+       * compile/compile-object-load.c (get_out_value_type): Use
+       symbol_matches_search_name.
+
+2020-04-24  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.c (add_partial_symbol): Do not call
+       compute_and_set_names.
+
+2020-04-24  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.c (add_partial_symbol): Use new add_psymbol_to_list
+       overload.
+
+2020-04-24  Tom Tromey  <tom@tromey.com>
+
+       * psymtab.c (add_psymbol_to_bcache): Simplify calling convention.
+       (add_psymbol_to_list): New overload.  Make old overload call new
+       one.
+       * psympriv.h (add_psymbol_to_list): New overload.
+
+2020-04-24  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.c (partial_die_info::read) <case
+       DW_AT_linkage_name>: Use value_as_string.
+       (dwarf2_string_attr): Use value_as_string.
+       * dwarf2/attribute.h (struct attribute) <value_as_string>: Declare
+       method.
+       * dwarf2/attribute.c (attribute::value_as_string): New method.
+
+2020-04-24  Tom Tromey  <tom@tromey.com>
+
+       * symtab.c (general_symbol_info::natural_name)
+       (general_symbol_info::demangled_name): Check for language_rust.
+
+2020-04-24  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.c (dw2_linkage_name): Move Rust "{" hack here...
+       (dwarf2_physname): ... from here.
+       (partial_die_info::read): Add Rust "{" hack.
+
+2020-04-24  Tom Tromey  <tom@tromey.com>
+
+       * symtab.h (struct general_symbol_info) <set_demangled_name>: New
+       method.
+       (symbol_set_demangled_name): Don't declare.
+       * symtab.c (general_symbol_info::set_demangled_name): Rename from
+       symbol_set_demangled_name.
+       (general_symbol_info::set_language)
+       (general_symbol_info::compute_and_set_names): Update.
+       * minsyms.c (minimal_symbol_reader::install): Update.
+       * dwarf2/read.c (new_symbol): Update.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       PR python/23662:
+       * python/py-type.c (convert_field): Handle
+       FIELD_LOC_KIND_DWARF_BLOCK.
+       (typy_get_sizeof): Handle TYPE_HAS_DYNAMIC_LENGTH.
+       (typy_get_dynamic): Nw function.
+       (type_object_getset): Add "dynamic".
+       * NEWS: Add entry.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * ada-typeprint.c (print_choices, print_variant_part)
+       (print_record_field_types_dynamic): New functions.
+       (print_record_field_types): Use print_record_field_types_dynamic.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/read.c (handle_data_member_location): New overload.
+       (dwarf2_add_field): Use it.
+       (decode_locdesc): Add "computed" parameter.  Update comment.
+       * gdbtypes.c (is_dynamic_type_internal): Also look for
+       FIELD_LOC_KIND_DWARF_BLOCK.
+       (resolve_dynamic_struct): Handle FIELD_LOC_KIND_DWARF_BLOCK.
+       * gdbtypes.c (is_dynamic_type_internal): Add special case for C++
+       virtual base classes.
+       * gnu-v3-abi.c (gnuv3_baseclass_offset): Handle
+       FIELD_LOC_KIND_DWARF_BLOCK.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/read.c (read_structure_type): Handle dynamic length.
+       * gdbtypes.c (is_dynamic_type_internal): Check
+       TYPE_HAS_DYNAMIC_LENGTH.
+       (resolve_dynamic_type_internal): Use TYPE_DYNAMIC_LENGTH.
+       * gdbtypes.h (TYPE_HAS_DYNAMIC_LENGTH, TYPE_DYNAMIC_LENGTH):
+       New macros.
+       (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_SIZE>: New
+       constant.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/read.c (struct variant_field): Rewrite.
+       (struct variant_part_builder): New.
+       (struct nextfield): Remove "variant" field.  Add "offset".
+       (struct field_info): Add "current_variant_part" and
+       "variant_parts".
+       (alloc_discriminant_info): Remove.
+       (alloc_rust_variant): New function.
+       (quirk_rust_enum): Update.
+       (dwarf2_add_field): Set "offset" member.  Don't handle
+       DW_TAG_variant_part.
+       (offset_map_type): New typedef.
+       (convert_variant_range, create_one_variant)
+       (create_one_variant_part, create_variant_parts)
+       (add_variant_property): New functions.
+       (dwarf2_attach_fields_to_type): Call add_variant_property.
+       (read_structure_type): Don't handle DW_TAG_variant_part.
+       (handle_variant_part, handle_variant): New functions.
+       (handle_struct_member_die): Use them.
+       (process_structure_scope): Don't handle variant parts.
+       * gdbtypes.h (TYPE_FLAG_DISCRIMINATED_UNION): Remove.
+       (struct discriminant_info): Remove.
+       (enum dynamic_prop_node_kind) <DYN_PROP_DISCRIMINATED>: Remove.
+       (struct main_type) <flag_discriminated_union>: Remove.
+       * rust-lang.c (rust_enum_p, rust_empty_enum_p): Rewrite.
+       (rust_enum_variant): Return int.  Remove "contents".  Rewrite.
+       (rust_print_enum, rust_print_struct_def, rust_evaluate_subexp):
+       Update.
+       * valops.c (value_union_variant): Remove.
+       * value.h (value_union_variant): Don't declare.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.c (ada_discrete_type_high_bound, ada_discrete_type_low)
+       (ada_value_primitive_packed_val): Update.
+       * ada-valprint.c (ada_value_print_1): Update.
+       * dwarf2/loc.c (evaluate_for_locexpr_baton): New struct.
+       (dwarf2_locexpr_baton_eval): Take a property_addr_info rather than
+       just an address.  Use evaluate_for_locexpr_baton.
+       (dwarf2_evaluate_property): Update.
+       * dwarf2/loc.h (struct property_addr_info) <valaddr>: Now an
+       array_view.
+       * findvar.c (default_read_var_value): Update.
+       * gdbtypes.c (compute_variant_fields_inner)
+       (resolve_dynamic_type_internal): Update.
+       (resolve_dynamic_type): Change type of valaddr parameter.
+       * gdbtypes.h (resolve_dynamic_type): Update.
+       * valarith.c (value_subscripted_rvalue): Update.
+       * value.c (value_from_contents_and_address): Update.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/loc.c (dwarf2_locexpr_baton_eval): Add
+       "push_initial_value" parameter.
+       (dwarf2_evaluate_property): Likewise.
+       * dwarf2/loc.h (dwarf2_evaluate_property): Update.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * gdbtypes.c (is_dynamic_type_internal): Check for variant parts.
+       (variant::matches, compute_variant_fields_recurse)
+       (compute_variant_fields_inner, compute_variant_fields): New
+       functions.
+       (resolve_dynamic_struct): Check for DYN_PROP_VARIANT_PARTS.
+       Use resolved_type after type is made.
+       (operator==): Add new cases.
+       * gdbtypes.h (TYPE_HAS_VARIANT_PARTS): New macro.
+       (struct discriminant_range, struct variant, struct variant_part):
+       New.
+       (union dynamic_prop_data) <variant_parts, original_type>: New
+       members.
+       (enum dynamic_prop_node_kind) <DYN_PROP_VARIANT_PARTS>: New constant.
+       (enum dynamic_prop_kind) <PROP_TYPE, PROP_VARIANT_PARTS>: New
+       constants.
+       * value.c (unpack_bits_as_long): Now public.
+       * value.h (unpack_bits_as_long): Declare.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * rs6000-tdep.c (struct ppc_variant): Rename from "variant".
+       (variants, find_variant_by_arch, rs6000_gdbarch_init): Update.
+
+2020-04-24  Hannes Domani  <ssbssa@yahoo.de>
+
+       * windows-tdep.c (exception_values): Add WOW64 exception numbers.
+
+2020-04-24  Kamil Rytarowski  <n54@gmx.com>
+
+       * inf-ptrace.h (follow_fork, insert_fork_catchpoint)
+       (remove_fork_catchpoint, post_startup_inferior)
+       (post_attach): Move...
+       * obsd-nat.h (follow_fork, insert_fork_catchpoint)
+       (remove_fork_catchpoint, post_startup_inferior)
+       (post_attach): ...here.
+       * inf-ptrace.c (follow_fork, insert_fork_catchpoint)
+       (remove_fork_catchpoint, post_startup_inferior)
+       (post_attach): Move...
+       * obsd-nat.c (follow_fork, insert_fork_catchpoint)
+       (remove_fork_catchpoint, post_startup_inferior)
+       (post_attach): ...here.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * nat/windows-nat.h (struct windows_thread_info)
+       <pc_adjusted>: New member.
+       * windows-nat.c (windows_fetch_one_register): Check
+       pc_adjusted.
+       (windows_nat_target::get_windows_debug_event)
+       (windows_nat_target::wait): Set pc_adjusted.
+
+2020-04-24  Tom de Vries  <tdevries@suse.de>
+
+       * contrib/cc-with-tweaks.sh: Remove <exec>.gdb-index file handling.
+       Run gdb-add-index inside temp dir.
+
+2020-04-23  Tom Tromey  <tromey@adacore.com>
+
+       * windows-tdep.c (is_linked_with_cygwin_dll): Always update "iter"
+       in loop.
+
+2020-04-23  Luis Machado  <luis.machado@linaro.org>
+
+       * dwarf2/frame-tailcall.c (dwarf2_tailcall_sniffer_first): Use
+       get_frame_register instead of gdbarch_unwind_pc.
+
+2020-04-23  Tom de Vries  <tdevries@suse.de>
+
+       * symtab.c (lookup_global_symbol): Prefer def over decl.
+
+2020-04-23  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25807
+       * block.c (best_symbol, better_symbol): Promote to external.
+       * block.h (best_symbol, better_symbol): Declare.
+       * symtab.c (lookup_symbol_in_objfile_symtabs): Prefer def over
+       decl.
+
+2020-04-23  Tom Tromey  <tromey@adacore.com>
+
+       PR ada/25837:
+       * dwarf2/read.c (dw2_expand_symtabs_matching_symbol): Store a
+       "const char *", not a "const std::string &".
+       <name_and_matcher::operator==>: Update.
+       * unittests/lookup_name_info-selftests.c: Change type of
+       "result".
+
+2020-04-23  Tom Tromey  <tom@tromey.com>
+
+       * inferior.h (iterate_over_inferiors): Don't declare.
+       * inferior.c (iterate_over_inferiors): Remove.
+       * darwin-nat.c (find_inferior_task_it, find_inferior_pid_it):
+       Remove.
+       (darwin_find_inferior_by_task, darwin_find_inferior_by_pid): Don't
+       use iterate_over_inferiors.
+       (darwin_resume_inferior_it)
+       (struct resume_inferior_threads_param)
+       (darwin_resume_inferior_threads_it): Remove.
+       (darwin_nat_target::resume): Don't use iterate_over_inferiors.
+
+2020-04-23  Tom de Vries  <tdevries@suse.de>
+
+       * blockframe.c (find_pc_partial_function): Use
+       find_pc_sect_compunit_symtab rather than
+       objfile->sf->qf->find_pc_sect_compunit_symtab.
+
+2020-04-22  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25764
+       * dwarf2/read.c (scan_partial_symbols): Allow external variable decls
+       in psymtabs.
+
+2020-04-22  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25801
+       * psymtab.c (psym_map_symtabs_matching_filename): Don't skip shared
+       symtabs.
+
+2020-04-22  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25700
+       * dwarf2/read.c (dwarf2_build_psymtabs_hard): Don't create psymtab for
+       CU if already created.
+
+2020-04-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * infrun.c (displaced_step_fixup): Switch to the event_thread
+       before calling displaced_step_restore, not after.
+
+2020-04-21  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_enable_warn): Ignore thread if
+       its inferior is not recorded by us.
+       (record_btrace_target_open): Replace call to
+       all_non_exited_threads () with call to current_inferior
+       ()->non_exited_threads ().
+       (record_btrace_target::stop_recording): Likewise.
+       (record_btrace_target::close): Likewise.
+       (record_btrace_target::wait): Likewise.
+       (record_btrace_target::record_stop_replaying): Likewise.
+
+2020-04-21  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * btrace.c (btrace_enable): Throw an error on double enables and
+       when enabling recording fails.
+       (btrace_disable): Throw an error if the thread is not recorded.
+
+2020-04-21  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_target::fetch_registers): Forward
+       request if we do not have a thread_info.
+
+2020-04-21  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/25471
+       * thread.c
+       (scoped_restore_current_thread::scoped_restore_current_thread): Catch
+       exception in get_frame_id.
+
+2020-04-20  Tom Tromey  <tromey@adacore.com>
+
+       * python/python.c (struct gdbpy_event): Mark move constructor as
+       noexcept.
+       * python/py-tui.c (class gdbpy_tui_window_maker): Mark move
+       constructor as noexcept.
+       * completer.h (struct completion_result): Mark move constructor as
+       noexcept.
+       * completer.c (completion_result::completion_result): Use
+       initialization style.  Don't call reset_match_list.
+
+2020-04-20  Mihails Strasuns  <mihails.strasuns@intel.com>
+
+       * MAINTAINERS (Write After Approval): Add myself.
+
+2020-04-18  Tom Tromey  <tom@tromey.com>
+
+       * windows-tdep.c (init_w32_command_list)
+       (w32_prefix_command_valid): Restore.
+       (_initialize_windows_tdep): Call init_w32_command_list.
+
+2020-04-18  Tom Tromey  <tom@tromey.com>
+
+       * xcoffread.c (enter_line_range, scan_xcoff_symtab): Update.
+       * value.c (value_fn_field): Update.
+       * valops.c (find_function_in_inferior)
+       (value_allocate_space_in_inferior): Update.
+       * tui/tui-winsource.c (tui_update_source_windows_with_line):
+       Update.
+       * tui/tui-source.c (tui_source_window::set_contents): Update.
+       * symtab.c (lookup_global_or_static_symbol)
+       (find_function_start_sal_1, skip_prologue_sal)
+       (print_msymbol_info, find_gnu_ifunc, symbol_arch): Update.
+       * symmisc.c (dump_msymbols, dump_symtab_1)
+       (maintenance_print_one_line_table): Update.
+       * symfile.c (init_entry_point_info, section_is_mapped)
+       (list_overlays_command, simple_read_overlay_table)
+       (simple_overlay_update_1): Update.
+       * stap-probe.c (handle_stap_probe): Update.
+       * stabsread.c (dbx_init_float_type, define_symbol)
+       (read_one_struct_field, read_enum_type, read_range_type): Update.
+       * source.c (info_line_command): Update.
+       * python/python.c (gdbpy_source_objfile_script)
+       (gdbpy_execute_objfile_script): Update.
+       * python/py-type.c (save_objfile_types): Update.
+       * python/py-objfile.c (py_free_objfile): Update.
+       * python/py-inferior.c (python_new_objfile): Update.
+       * psymtab.c (psym_find_pc_sect_compunit_symtab, dump_psymtab)
+       (dump_psymtab_addrmap_1, maintenance_info_psymtabs)
+       (maintenance_check_psymtabs): Update.
+       * printcmd.c (info_address_command): Update.
+       * objfiles.h (struct objfile) <arch>: New method, from
+       get_objfile_arch.
+       (get_objfile_arch): Don't declare.
+       * objfiles.c (get_objfile_arch): Remove.
+       (filter_overlapping_sections): Update.
+       * minsyms.c (msymbol_is_function): Update.
+       * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines)
+       (output_nondebug_symbol): Update.
+       * mdebugread.c (parse_symbol, basic_type, parse_partial_symbols)
+       (mdebug_expand_psymtab): Update.
+       * machoread.c (macho_add_oso_symfile): Update.
+       * linux-tdep.c (linux_infcall_mmap, linux_infcall_munmap):
+       Update.
+       * linux-fork.c (checkpoint_command): Update.
+       * linespec.c (convert_linespec_to_sals): Update.
+       * jit.c (finalize_symtab): Update.
+       * infrun.c (insert_exception_resume_from_probe): Update.
+       * ia64-tdep.c (ia64_find_unwind_table): Update.
+       * hppa-tdep.c (internalize_unwinds): Update.
+       * gdbtypes.c (get_type_arch, init_float_type, objfile_type):
+       Update.
+       * gcore.c (call_target_sbrk): Update.
+       * elfread.c (record_minimal_symbol, elf_symtab_read)
+       (elf_rel_plt_read, elf_gnu_ifunc_record_cache)
+       (elf_gnu_ifunc_resolve_by_got): Update.
+       * dwarf2/read.c (create_addrmap_from_index)
+       (create_addrmap_from_aranges, dw2_find_pc_sect_compunit_symtab)
+       (read_debug_names_from_section)
+       (process_psymtab_comp_unit_reader, add_partial_symbol)
+       (add_partial_subprogram, process_full_comp_unit)
+       (read_file_scope, read_func_scope, read_lexical_block_scope)
+       (read_call_site_scope, dwarf2_ranges_read)
+       (dwarf2_record_block_ranges, dwarf2_add_field)
+       (mark_common_block_symbol_computed, read_tag_pointer_type)
+       (read_tag_string_type, dwarf2_init_float_type)
+       (dwarf2_init_complex_target_type, read_base_type)
+       (partial_die_info::read, partial_die_info::read)
+       (read_attribute_value, dwarf_decode_lines_1, new_symbol)
+       (dwarf2_fetch_die_loc_sect_off): Update.
+       * dwarf2/loc.c (dwarf2_find_location_expression)
+       (class dwarf_evaluate_loc_desc, rw_pieced_value)
+       (dwarf2_evaluate_loc_desc_full, dwarf2_locexpr_baton_eval)
+       (dwarf2_loc_desc_get_symbol_read_needs)
+       (locexpr_describe_location_piece, locexpr_describe_location_1)
+       (loclist_describe_location): Update.
+       * dwarf2/index-write.c (write_debug_names): Update.
+       * dwarf2/frame.c (dwarf2_build_frame_info): Update.
+       * dtrace-probe.c (dtrace_process_dof): Update.
+       * dbxread.c (read_dbx_symtab, dbx_end_psymtab)
+       (process_one_symbol): Update.
+       * ctfread.c (ctf_init_float_type, read_base_type): Update.
+       * coffread.c (coff_symtab_read, enter_linenos, decode_base_type)
+       (coff_read_enum_type): Update.
+       * cli/cli-cmds.c (edit_command, list_command): Update.
+       * buildsym.c (buildsym_compunit::finish_block_internal): Update.
+       * breakpoint.c (create_overlay_event_breakpoint)
+       (create_longjmp_master_breakpoint)
+       (create_std_terminate_master_breakpoint)
+       (create_exception_master_breakpoint, get_sal_arch): Update.
+       * block.c (block_gdbarch): Update.
+       * annotate.c (annotate_source_line): Update.
+
+2020-04-17  Tom Tromey  <tromey@adacore.com>
+
+       * auto-load.c (show_auto_load_cmd): Remove.
+       (auto_load_show_cmdlist_get): Use add_show_prefix_cmd.
+       * arc-tdep.c (_initialize_arc_tdep): Use add_show_prefix_cmd.
+       (maintenance_print_arc_command): Remove.
+       * tui/tui-win.c (tui_command): Remove.
+       (tui_get_cmd_list): Use add_basic_prefix_cmd.
+       * tui/tui-layout.c (tui_layout_command): Remove.
+       (_initialize_tui_layout): Use add_basic_prefix_cmd.
+       * python/python.c (user_set_python, user_show_python): Remove.
+       (_initialize_python): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * guile/guile.c (set_guile_command, show_guile_command): Remove.
+       (install_gdb_commands): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       (info_guile_command): Remove.
+       * dwarf2/read.c (set_dwarf_cmd, show_dwarf_cmd): Remove.
+       (_initialize_dwarf2_read): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * cli/cli-style.h (class cli_style_option) <add_setshow_commands>:
+       Remove do_set and do_show parameters.
+       * cli/cli-style.c (set_style, show_style): Remove.
+       (_initialize_cli_style): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       (cli_style_option::add_setshow_commands): Remove do_set and
+       do_show parameters.
+       (cli_style_option::add_setshow_commands): Use
+       add_basic_prefix_cmd, add_show_prefix_cmd.
+       (STYLE_ADD_SETSHOW_COMMANDS): Remove macro.
+       (set_style_name): Remove.
+       * cli/cli-dump.c (dump_command, append_command): Remove.
+       (srec_dump_command, ihex_dump_command, verilog_dump_command)
+       (tekhex_dump_command, binary_dump_command)
+       (binary_append_command): Remove.
+       (_initialize_cli_dump): Use add_basic_prefix_cmd.
+       * windows-tdep.c (w32_prefix_command_valid): Remove global.
+       (init_w32_command_list): Remove; move into ...
+       (_initialize_windows_tdep): ... here.  Use add_basic_prefix_cmd.
+       * valprint.c (set_print, show_print, set_print_raw)
+       (show_print_raw): Remove.
+       (_initialize_valprint): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * typeprint.c (set_print_type, show_print_type): Remove.
+       (_initialize_typeprint): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * record.c (set_record_command, show_record_command): Remove.
+       (_initialize_record): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * cli/cli-cmds.c (_initialize_cli_cmds): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       (info_command, show_command, set_debug, show_debug): Remove.
+       * top.h (set_history, show_history): Don't declare.
+       * top.c (set_history, show_history): Remove.
+       * target-descriptions.c (set_tdesc_cmd, show_tdesc_cmd)
+       (unset_tdesc_cmd): Remove.
+       (_initialize_target_descriptions): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * symtab.c (info_module_command): Remove.
+       (_initialize_symtab): Use add_basic_prefix_cmd.
+       * symfile.c (overlay_command): Remove.
+       (_initialize_symfile): Use add_basic_prefix_cmd.
+       * sparc64-tdep.c (info_adi_command): Remove.
+       (_initialize_sparc64_adi_tdep): Use add_basic_prefix_cmd.
+       * sh-tdep.c (show_sh_command, set_sh_command): Remove.
+       (_initialize_sh_tdep): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * serial.c (serial_set_cmd, serial_show_cmd): Remove.
+       (_initialize_serial): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Remove.
+       (_initialize_ser_tcp): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * rs6000-tdep.c (set_powerpc_command, show_powerpc_command)
+       (_initialize_rs6000_tdep): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * riscv-tdep.c (show_riscv_command, set_riscv_command)
+       (show_debug_riscv_command, set_debug_riscv_command): Remove.
+       (_initialize_riscv_tdep): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * remote.c (remote_command, set_remote_cmd): Remove.
+       (_initialize_remote): Use add_basic_prefix_cmd.
+       * record-full.c (set_record_full_command)
+       (show_record_full_command): Remove.
+       (_initialize_record_full): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * record-btrace.c (cmd_set_record_btrace)
+       (cmd_show_record_btrace, cmd_set_record_btrace_bts)
+       (cmd_show_record_btrace_bts, cmd_set_record_btrace_pt)
+       (cmd_show_record_btrace_pt): Remove.
+       (_initialize_record_btrace): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * ravenscar-thread.c (set_ravenscar_command)
+       (show_ravenscar_command): Remove.
+       (_initialize_ravenscar): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * mips-tdep.c (show_mips_command, set_mips_command)
+       (_initialize_mips_tdep): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * maint.c (maintenance_command, maintenance_info_command)
+       (maintenance_check_command, maintenance_print_command)
+       (maintenance_set_cmd, maintenance_show_cmd): Remove.
+       (_initialize_maint_cmds): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       (show_per_command_cmd): Remove.
+       * maint-test-settings.c (maintenance_set_test_settings_cmd):
+       Remove.
+       (maintenance_show_test_settings_cmd): Remove.
+       (_initialize_maint_test_settings): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * maint-test-options.c (maintenance_test_options_command):
+       Remove.
+       (_initialize_maint_test_options): Use add_basic_prefix_cmd.
+       * macrocmd.c (macro_command): Remove
+       (_initialize_macrocmd): Use add_basic_prefix_cmd.
+       * language.c (set_check, show_check): Remove.
+       (_initialize_language): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * infcmd.c (unset_command): Remove.
+       (_initialize_infcmd): Use add_basic_prefix_cmd.
+       * i386-tdep.c (set_mpx_cmd, show_mpx_cmd): Remove.
+       (_initialize_i386_tdep): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * go32-nat.c (go32_info_dos_command): Remove.
+       (_initialize_go32_nat): Use add_basic_prefix_cmd.
+       * cli/cli-decode.c (do_prefix_cmd, add_basic_prefix_cmd)
+       (do_show_prefix_cmd, add_show_prefix_cmd): New functions.
+       * frame.c (set_backtrace_cmd, show_backtrace_cmd): Remove.
+       (_initialize_frame): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * dcache.c (set_dcache_command, show_dcache_command): Remove.
+       (_initialize_dcache): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * cp-support.c (maint_cplus_command): Remove.
+       (_initialize_cp_support): Use add_basic_prefix_cmd.
+       * btrace.c (maint_btrace_cmd, maint_btrace_set_cmd)
+       (maint_btrace_show_cmd, maint_btrace_pt_set_cmd)
+       (maint_btrace_pt_show_cmd, _initialize_btrace): Use
+       add_basic_prefix_cmd, add_show_prefix_cmd.
+       * breakpoint.c (save_command): Remove.
+       (_initialize_breakpoint): Use add_basic_prefix_cmd.
+       * arm-tdep.c (set_arm_command, show_arm_command): Remove.
+       (_initialize_arm_tdep): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * ada-lang.c (maint_set_ada_cmd, maint_show_ada_cmd)
+       (set_ada_command, show_ada_command): Remove.
+       (_initialize_ada_language): Use add_basic_prefix_cmd,
+       add_show_prefix_cmd.
+       * command.h (add_basic_prefix_cmd, add_show_prefix_cmd): Declare.
+
+2020-04-16  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-nat.c (inf_ptrace_target::auxv_parse): Remove.
+       * nbsd-nat.h (inf_ptrace_target::auxv_parse): Likewise.
+
 2020-04-16  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * windows-tdep.c (is_linked_with_cygwin_dll): Add filename to
 2020-04-12  Kamil Rytarowski  <n54@gmx.com>
 
        * nbsd-nat.c (nbsd_pid_to_cmdline): Add.
-        (nbsd_nat_target::info_proc): Add do_cmdline.
+       (nbsd_nat_target::info_proc): Add do_cmdline.
 
 2020-04-12  Kamil Rytarowski  <n54@gmx.com>
 
        * nbsd-nat.c (nbsd_pid_to_cwd): Add.
-        (nbsd_nat_target::info_proc): Add do_cwd.
+       (nbsd_nat_target::info_proc): Add do_cwd.
 
 2020-04-12  Kamil Rytarowski  <n54@gmx.com>
 
        revert partially:
        2020-04-01  Bernd Edlinger  <bernd.edlinger@hotmail.de>
 
-        * buildsym.c (record_line): Fix undefined behavior and preserve
-        lines at eof.
+       * buildsym.c (record_line): Fix undefined behavior and preserve
+       lines at eof.
 
 2020-04-09  Kamil Rytarowski  <n54@gmx.com>
 
        * configure.tgt: Likewise.
        * arc-tdep.c (arc_tdesc_init): Use arc_read_description.
        (_initialize_arc_tdep): Don't initialize old target descriptions.
-        (arc_read_description): New function to cache target descriptions.
+       (arc_read_description): New function to cache target descriptions.
        * arc-tdep.h (arc_read_description): Add proto type.
        * arch/arc.c: New file.
        * arch/arc.h: Likewise.
 2020-02-05  Iain Buclaw  <ibuclaw@gdcproject.org>
 
        PR gdb/25190:
-        * gdb/remote-sim.c (gdb_os_write_stderr): Update.
-        * gdb/remote.c (remote_console_output): Update.
-        * gdb/ui-file.c (fputs_unfiltered): Rename to...
-        (ui_file_puts): ...this.
-        * gdb/ui-file.h (ui_file_puts): Add declaration.
-        * gdb/utils.c (emit_style_escape): Update.
-        (flush_wrap_buffer): Update.
-        (fputs_maybe_filtered): Update.
-        (fputs_unfiltered): Add function.
+       * gdb/remote-sim.c (gdb_os_write_stderr): Update.
+       * gdb/remote.c (remote_console_output): Update.
+       * gdb/ui-file.c (fputs_unfiltered): Rename to...
+       (ui_file_puts): ...this.
+       * gdb/ui-file.h (ui_file_puts): Add declaration.
+       * gdb/utils.c (emit_style_escape): Update.
+       (flush_wrap_buffer): Update.
+       (fputs_maybe_filtered): Update.
+       (fputs_unfiltered): Add function.
 
 2020-02-05  Iain Buclaw  <ibuclaw@gdcproject.org>
 
-        * gdb/event-loop.c (gdb_wait_for_event): Update.
-        * gdb/printcmd.c (printf_command): Update.
-        * gdb/remote-fileio.c (remote_fileio_func_write): Update.
-        * gdb/remote-sim.c (gdb_os_flush_stdout): Update.
-        (gdb_os_flush_stderr): Update.
-        * gdb/remote.c (remote_console_output): Update.
-        * gdb/ui-file.c (gdb_flush): Rename to...
-        (ui_file_flush): ...this.
-        (stderr_file::write): Update.
-        (stderr_file::puts): Update.
-        * gdb/ui-file.h (gdb_flush): Rename to...
-        (ui_file_flush): ...this.
-        * gdb/utils.c (gdb_flush): Add function.
-        * gdb/utils.h (gdb_flush): Add declaration.
+       * gdb/event-loop.c (gdb_wait_for_event): Update.
+       * gdb/printcmd.c (printf_command): Update.
+       * gdb/remote-fileio.c (remote_fileio_func_write): Update.
+       * gdb/remote-sim.c (gdb_os_flush_stdout): Update.
+       (gdb_os_flush_stderr): Update.
+       * gdb/remote.c (remote_console_output): Update.
+       * gdb/ui-file.c (gdb_flush): Rename to...
+       (ui_file_flush): ...this.
+       (stderr_file::write): Update.
+       (stderr_file::puts): Update.
+       * gdb/ui-file.h (gdb_flush): Rename to...
+       (ui_file_flush): ...this.
+       * gdb/utils.c (gdb_flush): Add function.
+       * gdb/utils.h (gdb_flush): Add declaration.
 
 2020-02-07  Tom Tromey  <tromey@adacore.com>
 
        Add rtl_user_process_parameters type.
 
 2020-01-16  Pedro Alves  <palves@redhat.com>
-            Norbert Lange  <nolange79@gmail.com>
+           Norbert Lange  <nolange79@gmail.com>
 
        PR build/24805
        * gdbsupport/gdb_proc_service.h (PS_EXPORT): New.
 
        * tui/tui-disasm.c (tui_disasm_window::addr_is_displayed): Avoid
        overflow by an early check of content vs threshold.
-        * tui/tui-source.c (tui_source_window::line_is_displayed):
+       * tui/tui-source.c (tui_source_window::line_is_displayed):
        Likewise.
 
 2020-01-06  Eli Zaretskii  <eliz@gnu.org>
This page took 0.032448 seconds and 4 git commands to generate.