X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=160023214dc750ea05776279de8955eec46fe2b2;hb=835dcf92618e294d3c6c2bedd94af712809c96a3;hp=6b5c336b1e372bffec98424bec978a243947dc41;hpb=4e9668d0d1ddad73af7c20a92a00704fbea2a8d9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6b5c336b1e..160023214d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,979 @@ +2018-06-09 Simon Marchi + + * regcache.h (reg_buffer) <~reg_buffer>: Use default destructor. + : Change type to + std::unique_ptr. + * regcache.c (reg_buffer::reg_buffer): Use new instead of + XCNEWVEC. + +2018-06-09 Simon Marchi + + * common/common-regcache.h (enum register_status): Add + underlying type "signed char". + * regcache.h (reg_buffer) : Change type to + register_status *. + * regcache.c (reg_buffer::reg_buffer): Alocate arrays of + register_status instead of signed char. + (reg_buffer::save): Use REG_UNKNOWN instead of 0. + (reg_buffer::get_register_status): Remove cast. + (readable_regcache::raw_read): Remove cast. + (readable_regcache::cooked_read): Remove cast. + +2018-06-09 Tom Tromey + + * source.c (reverse_search_command, forward_search_command): Use + scoped_fd. + +2018-06-09 Tom Tromey + + * serial.c (serial_ops_p): Remove typedef. Don't declare VEC. + (serial_ops_list): Now static, std::vector. + (serial_interface_lookup, serial_add_interface): Update. + +2018-06-09 Tom Tromey + + * dwarf2read.c (process_cu_includes): Update. + (process_full_comp_unit): Update. + * dwarf2read.h (struct dwarf2_per_objfile) : Now a + std::vector. + +2018-06-08 Paul Koning + + PR gdb/23252 + + * python/python.c (do_start_initialization): + Avoid call to internal Python API. + (init__gdb_module): New function. + +2018-06-08 Gary Benson + + * linux-thread-db.c (valprint.h): New include. + (struct check_thread_db_info): New structure. + (check_thread_db_on_load, tdb_testinfo): New static globals. + (check_thread_db, check_thread_db_callback): New functions. + (try_thread_db_load_1): Run integrity checks if requested. + (maintenance_check_libthread_db): New function. + (_initialize_thread_db): Register "maint check libthread-db" + and "maint set/show check-libthread-db". + * NEWS: Mention the above new commands. + +2018-06-08 Tom Tromey + + * windows-nat.c (windows_nat_target::xfer_partial): "beneath" is + now a method. + +2018-06-08 Tom Tromey + + * btrace.c (parse_xml_raw): Use gdb::unique_xmalloc_ptr. + +2018-06-08 Tom Tromey + + * common/btrace-common.h (struct btrace_data): Add constructor, + destructor, move assignment operator. + : New methods. + : Initialize. + (btrace_data_init, btrace_data_fini, btrace_data_clear) + (btrace_data_empty): Don't declare. + * common/btrace-common.c (btrace_data_init): Remove. + (btrace_data::fini): Rename from btrace_data_fini. + (btrace_data::empty): Rename from btrace_data_empty. + (btrace_data::clear): Rename from btrace_data_clear. Return + bool. + * btrace.h (make_cleanup_btrace_data): Don't declare. + * btrace.c (btrace_add_pc, btrace_stitch_trace, btrace_clear) + (parse_xml_btrace): Update. + (do_btrace_data_cleanup, make_cleanup_btrace_data): Remove. + (maint_btrace_clear_packet_history_cmd): Update. + +2018-06-07 Pedro Alves + + * target.h (target_ops) : Now a method. All references + updated. + (class target_stack): New. + * target.c (g_target_stack): New. + (g_current_top_target): Delete. + (current_top_target): Get the top target out of g_target_stack. + (target_stack::push, target_stack::unpush): New. + (push_target, unpush_target): Reimplement. + (target_is_pushed): Reimplement in terms of g_target_stack. + (target_ops::beneath, target_stack::find_beneath): New. + +2018-06-07 Pedro Alves + + * target.h (find_target_beneath): Delete declaration. + * target.c (find_target_beneath): Delete definition. + * aix-thread.c: All callers of find_target_beneath adjusted to + call target_ops::beneath instead. + * bsd-uthread.c: Likewise. + * linux-thread-db.c: Likewise. + * ravenscar-thread.c: Likewise. + * sol-thread.c: Likewise. + * spu-multiarch.c: Likewise. + +2018-06-07 Pedro Alves + + * target.h (target_ops) : Now a method. All references + updated. + (target_ops) : New. + * target.c (target_ops::beneath): New. + * corelow.c: Adjust all references to target_ops::beneath. + * linux-thread-db.c: Likewise. + * make-target-delegates: Likewise. + * record-btrace.c: Likewise. + * record-full.c: Likewise. + * remote.c: Likewise. + * target.c: Likewise. + * target-delegates.c: Regenerate. + +2018-06-07 Pedro Alves + + * target.h (target_stack): Delete. + (current_top_target): Declare function. + * target.c (target_stack): Delete. + (g_current_top_target): New. + (current_top_target): New function. + * auxv.c: Use current_top_target instead of target_stack + throughout. + * avr-tdep.c: Likewise. + * breakpoint.c: Likewise. + * corefile.c: Likewise. + * elfread.c: Likewise. + * eval.c: Likewise. + * exceptions.c: Likewise. + * frame.c: Likewise. + * gdbarch-selftests.c: Likewise. + * gnu-v3-abi.c: Likewise. + * ia64-tdep.c: Likewise. + * ia64-vms-tdep.c: Likewise. + * infcall.c: Likewise. + * infcmd.c: Likewise. + * infrun.c: Likewise. + * linespec.c: Likewise. + * linux-tdep.c: Likewise. + * minsyms.c: Likewise. + * ppc-linux-nat.c: Likewise. + * ppc-linux-tdep.c: Likewise. + * procfs.c: Likewise. + * regcache.c: Likewise. + * remote.c: Likewise. + * rs6000-tdep.c: Likewise. + * s390-linux-nat.c: Likewise. + * s390-tdep.c: Likewise. + * solib-aix.c: Likewise. + * solib-darwin.c: Likewise. + * solib-dsbt.c: Likewise. + * solib-spu.c: Likewise. + * solib-svr4.c: Likewise. + * solib-target.c: Likewise. + * sparc-tdep.c: Likewise. + * sparc64-tdep.c: Likewise. + * spu-tdep.c: Likewise. + * symfile.c: Likewise. + * symtab.c: Likewise. + * target-descriptions.c: Likewise. + * target-memory.c: Likewise. + * target.c: Likewise. + * target.h: Likewise. + * tracefile-tfile.c: Likewise. + * tracepoint.c: Likewise. + * valops.c: Likewise. + * valprint.c: Likewise. + * value.c: Likewise. + * windows-tdep.c: Likewise. + * mi/mi-main.c: Likewise. + +2018-06-07 Tom Tromey + + * valprint.h (build_address_symbolic): Declare. + * printcmd.c (print_address_symbolic): Update. + (build_address_symbolic): Change "name" and "filename" to + std::string. + * disasm.c (gdb_pretty_print_disassembler::pretty_print_insn): + Update. + * defs.h (build_address_symbolic): Remove declaration. + +2018-06-07 Alan Hayward + + * aarch64-tdep.c (AARCH64_SVE_V0_REGNUM): Add define. + (aarch64_vnv_type): Add function. + (aarch64_pseudo_register_name): Add V regs for SVE. + (aarch64_pseudo_register_type): Likewise. + (aarch64_pseudo_register_reggroup_p): Likewise. + (aarch64_pseudo_read_value_2): Use V0 offset for SVE + (aarch64_pseudo_read_value): Add V regs for SVE. + (aarch64_pseudo_write_2): Use V0 offset for SVE + (aarch64_pseudo_write): Add V regs for SVE. + * aarch64-tdep.h (struct gdbarch_tdep): Add vnv_type. + +2018-06-06 Sergio Durigan Junior + + * arch/aarch64.h (sve_vq_from_vl): Guard with #ifndef. + (sve_vl_from_vq): Likewise. + +2018-06-05 Tom Tromey + + * cli/cli-cmds.c (show_version): Update. + * top.c (print_gdb_version): Add "interactive" parameter. + Update. + * main.c (captured_main_1): Update. + * top.h (print_gdb_version): Add "interactive" parameter and a + comment. + +2018-06-05 David Malcolm + + * common/enum-flags.h: Add trailing semicolon to example in + comment. + +2018-06-05 Tom Tromey + + PR cli/12326: + * NEWS: Add entry about pager. + * utils.c (pagination_disabled_for_command): New global. + (prompt_for_continue): Allow "c" response to prompt. + (reinitialize_more_filter): Clear + pagination_disabled_for_command. + (fputs_maybe_filtered): Check pagination_disabled_for_command. + +2018-06-04 Tom Tromey + + * ada-lang.h (ada_lookup_symbol_list): Update. + * ada-lang.c (resolve_subexp): Update. + (symbols_are_identical_enums): Change type of syms. Remove nsyms + parameter. + (remove_extra_symbols, remove_irrelevant_renamings): Likewise. + (ada_lookup_symbol_list_worker, ada_lookup_symbol_list): Change + results parameter to std::vector. + (ada_iterate_over_symbols, ada_lookup_symbol, get_var_value): + Update. + * ada-exp.y (block_lookup): Update. + (select_possible_type_sym): Change type of syms. Remove nsyms + parameter. + (write_var_or_type, write_name_assoc): Update. + +2018-06-04 Joel Brobecker + + * windows-nat.c (windows_nat_target::xfer_partial): Return + TARGET_XFER_E_IO if we need to delegate to the target beneath + but BENEATH is NULL. + +2018-06-04 Simon Marchi + + * Makefile.in (config.status): Add configure.nat as a + dependency. + +2018-06-04 Tom Tromey + + * cp-name-parser.y (cpname_state): Add method declarations. + (HANDLE_QUAL): Update. + (cpname_state::d_grab, cpname_state::fill_comp) + (cpname_state::make_operator, cpname_state::make_dtor) + (cpname_state::make_builtin_type, cpname_state::make_name) + (cpname_state::d_qualify, cpname_state::d_int_type) + (cpname_state::d_unary, cpname_state::d_binary): Now methods. + (%union): Move earlier. + +2018-06-04 Alan Hayward + + * elfread.c (elf_symfile_segments): Use ELF_SECTION_IN_SEGMENT. + +2018-06-04 Alan Hayward + + * aarch64-tdep.c (aarch64_pseudo_read_value_1): New helper func. + (aarch64_pseudo_write_1): Likewise. + (aarch64_pseudo_read_value): Use helper. + (aarch64_pseudo_write): Likewise. + +2018-06-04 Pedro Alves + + * darwin-nat.c (darwin_ops): Delete. + (darwin_attach_pid): Use get_native_target. + +2018-06-04 Alan Hayward + + * aarch64-tdep.c (aarch64_get_tdesc_vq): Use uint64_t for VQ. + * aarch64-tdep.h (struct gdbarch_tdep): Likewise. + +2018-06-04 Alan Hayward + + * aarch64-linux-nat.c (aarch64_linux_read_description): Support SVE. + * aarch64-tdep.c (aarch64_get_tdesc_vq): New function. + (aarch64_gdbarch_init): Check for SVE. + * aarch64-tdep.h (gdbarch_tdep::has_sve): New function. + +2018-06-04 Alan Hayward + + * aarch64-tdep.c (aarch64_read_description): Use uint64_t for VQ. + * aarch64-tdep.h (aarch64_read_description): Likewise. + * arch/aarch64.c (aarch64_create_target_description): Likewise. + * arch/aarch64.h (aarch64_create_target_description): Likewise. + * features/aarch64-sve.c (create_feature_aarch64_sve): Likewise. + * nat/aarch64-sve-linux-ptrace.c(aarch64_sve_get_vq): Likewise. + * nat/aarch64-sve-linux-ptrace.h (aarch64_sve_get_vq): Likewise. + +2018-06-02 Simon Marchi + + * value.c (value_fetch_lazy_bitfield): New. + (value_fetch_lazy_memory): New. + (value_fetch_lazy_register): New. + (value_fetch_lazy): Factor out to smaller functions. + +2018-06-01 Tom Tromey + + * cp-name-parser.y (backslashable, represented): Now const. + +2018-06-01 Tom Tromey + + * cp-name-parser.y: Include parser-defs.h. + (parser_fprintf): Remove declaration. + +2018-06-01 Tom Tromey + + * cp-name-parser.y: Use %pure-parser, %lex-param, and + %parse-param. + (lexptr, prev_lexptr, error_lexptr, global_errmsg, demangle_info) + (global_result): Remove globals. + (struct cpname_state): New. + (yyparse): Don't declare. + (yylex, yyerror): Move declarations after %union. + (d_grab, fill_comp, make_operator, make_dtor, make_builtin_type) + (make_name): Add state parameter. + Update all callers. + (d_qualify, d_int_type, d_unary, d_binary, parse_number) Add state + parameter. + (HANDLE_QUAL, HANDLE_SPECIAL, HANDLE_TOKEN2, HANDLE_TOKEN3): + Update. + (yylex): Add lvalp, state parameters. + (yyerror): Add state parameter. + (cp_demangled_name_to_comp): Update. + +2018-06-01 Tom Tromey + + * cp-name-parser.y (parser_fprintf): Declare. + (GDB_YY_REMAP_PREFIX): Define. + Include yy-remap.h. Don't redefine yy* identifiers. + +2018-06-01 Tom Tromey + + * python/py-type.c (typy_legacy_template_argument): Update. + * cp-support.h (cp_demangled_name_to_comp): Update. + * cp-name-parser.y (cp_demangled_name_to_comp): Change errmsg + parameter to be a "std::string *". + (main): Update. + +2018-06-01 H.J. Lu + + * ada-lex.l: Include "diagnostics.h" instead of + "common/diagnostics.h". + * unittests/environ-selftests.c: Likewise. + * common/diagnostics.h: Moved to ../include. + +2018-06-01 Joel Brobecker + + * breakpoint.c (breakpoint_re_set): Temporarily force language_mode + to language_mode_manual while calling breakpoint_re_set_one. + +2018-06-01 Tom Tromey + + * valops.c (value_cast_structs, destructor_name_p): Update. + * symtab.c (gdb_mangle_name): Update. + * stabsread.c (define_symbol, read_cpp_abbrev, read_baseclasses): + Update. + * p-valprint.c (pascal_object_is_vtbl_ptr_type) + (pascal_object_print_value_fields, pascal_object_print_value): + Update. + * p-typeprint.c (pascal_type_print_derivation_info): Update. + * linespec.c (find_methods): Update. + * gdbtypes.h (type_name_no_tag): Remove. + (type_name_or_error): Rename from type_name_no_tag_or_error. + * gdbtypes.c (type_name_no_tag): Remove. + (type_name_or_error): Rename from type_name_no_tag_or_error. + (lookup_struct_elt_type, check_typedef): Update. + * expprint.c (print_subexp_standard): Update. + * dwarf2read.c (dwarf2_add_field, load_partial_dies): Update. + * d-namespace.c (d_lookup_nested_symbol): Update. + * cp-valprint.c (cp_is_vtbl_ptr_type, cp_print_value_fields) + (cp_print_class_member): Update. + * cp-namespace.c (cp_lookup_nested_symbol): Update. + * completer.c (add_struct_fields): Update. + * c-typeprint.c (cp_type_print_derivation_info) + (c_type_print_varspec_prefix, c_type_print_base_struct_union): + Update. + * ada-lang.c (parse_old_style_renaming, xget_renaming_scope) + (ada_prefer_type, ada_is_exception_sym): Update. + +2018-06-01 Tom Tromey + + * valops.c (enum_constant_from_type, value_namespace_elt) + (value_maybe_namespace_elt): Update. + * valarith.c (find_size_for_pointer_math): Update. + * target-descriptions.c (make_gdb_type): Update. + * symmisc.c (print_symbol): Update. + * stabsread.c (define_symbol, read_type) + (complain_about_struct_wipeout, add_undefined_type) + (cleanup_undefined_types_1): Update. + * rust-lang.c (rust_tuple_type_p, rust_slice_type_p) + (rust_range_type_p, val_print_struct, rust_print_struct_def) + (rust_internal_print_type, rust_composite_type) + (rust_evaluate_funcall, rust_evaluate_subexp) + (rust_inclusive_range_type_p): Update. + * python/py-type.c (typy_get_tag): Update. + * p-typeprint.c (pascal_type_print_base): Update. + * mdebugread.c (parse_symbol, parse_type): Update. + * m2-typeprint.c (m2_long_set, m2_record_fields, m2_enum): + Update. + * guile/scm-type.c (gdbscm_type_tag): Update. + * go-lang.c (sixg_string_p): Update. + * gnu-v3-abi.c (build_gdb_vtable_type, build_std_type_info_type): + Update. + * gdbtypes.h (struct main_type) : Remove. + (TYPE_TAG_NAME): Remove. + * gdbtypes.c (type_name_no_tag): Simplify. + (check_typedef, check_types_equal, recursive_dump_type) + (copy_type_recursive, arch_composite_type): Update. + * f-typeprint.c (f_type_print_base): Update. Print "Type" prefix + in summary mode when needed. + * eval.c (evaluate_funcall): Update. + * dwarf2read.c (fixup_go_packaging, read_structure_type) + (process_structure_scope, read_enumeration_type) + (read_namespace_type, read_module_type, determine_prefix): Update. + * cp-support.c (inspect_type): Update. + * coffread.c (process_coff_symbol, decode_base_type): Update. + * c-varobj.c (c_is_path_expr_parent): Update. + * c-typeprint.c (c_type_print_base_struct_union): Update. + (c_type_print_base_1): Update. Print struct/class/union/enum in + summary when using C language. + * ax-gdb.c (gen_struct_ref, gen_namespace_elt) + (gen_maybe_namespace_elt): Update. + * ada-lang.c (ada_type_name): Simplify. + (empty_record, ada_template_to_fixed_record_type_1) + (template_to_static_fixed_type) + (to_record_with_fixed_variant_part, ada_check_typedef): Update. + +2018-06-01 Tom Tromey + + * dwarf2read.c (dwarf2_compute_name): Pass CU's language to + c_print_type. + * c-typeprint.c (c_print_type_1): Add "language" parameter. + (c_print_type): Update. + (c_print_type): New overload. + (c_type_print_varspec_prefix, c_type_print_args) + (c_type_print_varspec_suffix, c_print_type_no_offsets) + (c_type_print_base_struct_union, c_type_print_base_1) + (cp_type_print_method_args): Add "language" parameter. + (c_type_print_base): Update. + * c-lang.h (c_print_type): Add new overload. + +2018-06-01 Tom Tromey + + * typeprint.h (c_type_print_varspec_suffix): Don't declare. + * c-typeprint.c (c_type_print_varspec_suffix): Now static. + +2018-06-01 Alan Hayward + + * aarch64-tdep.c (aarch64_sve_register_names): New const + var. + * arch/aarch64.h (enum aarch64_regnum): Add SVE entries. + (AARCH64_SVE_Z_REGS_NUM): New define. + (AARCH64_SVE_P_REGS_NUM): Likewise. + (AARCH64_SVE_NUM_REGS): Likewise. + +2018-05-31 Uros Bizjak + + * nat/linux-ptrace.h [__alpha__] + (GDB_ARCH_IS_TRAP_BRKPT, GDB_ARCH_IS_TRAP_HWBKPT): Remove + definitions. + +2018-05-31 Maciej W. Rozycki + + * arch-utils.c (gdbarch_info_fill): Set `default_byte_order' to + the endianness selected. + * NEWS: Document `set endian auto' mode operation update. + +2018-05-31 Alan Hayward + + * Makefile.in: Add new header. + * gdb/arch/aarch64.h (sve_vg_from_vl): New macro. + (sve_vl_from_vg): Likewise. + (sve_vq_from_vl): Likewise. + (sve_vl_from_vq): Likewise. + (sve_vq_from_vg): Likewise. + (sve_vg_from_vq): Likewise. + * configure.nat: Add new c file. + * nat/aarch64-sve-linux-ptrace.c: New file. + * nat/aarch64-sve-linux-ptrace.h: New file. + +2018-05-31 Alan Hayward + + * aarch64-linux-nat.c (aarch64_linux_read_description): + Add parmeter zero. + * aarch64-linux-tdep.c (aarch64_linux_core_read_description): + Likewise. + * aarch64-tdep.c (tdesc_aarch64_list): Add. + (aarch64_read_description): Use VQ to index tdesc_aarch64_list. + (aarch64_gdbarch_init): Add parmeter zero. + * aarch64-tdep.h (aarch64_read_description): Add VQ parmeter. + * arch/aarch64.c (aarch64_create_target_description): Check VQ. + * arch/aarch64.h (aarch64_create_target_description): Add VQ. + parmeter. + * doc/gdb.texinfo: Describe SVE feature + * features/aarch64-sve.c: New file. + +2018-05-31 Omair Javaid + + PR gdb/23210 + * gdbarch.sh (significant_addr_bit): Default to zero when + not set by target architecture. + * gdbarch.c: Re-generated. + * utils.c (address_significant): Update. + +2018-05-30 Joel Brobecker + + * stack.c (func_command): Remove trailing newline in call to error. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_raw_collect): Remove, update callers to + use regcache::raw_collect. + * regcache.c (regcache_raw_collect): Remove. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_raw_supply): Remove, update callers to + use detached_regcache::raw_supply. + * regcache.c (regcache_raw_supply): Remove. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_cooked_write_part): Remove, update + callers to use regcache::cooked_write_part. + * regcache.c (regcache_cooked_write_part): Remove. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_cooked_read_part): Remove, update callers + to use readable_regcache::cooked_read_part. + * regcache.c (regcache_cooked_read_part): Remove. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_cooked_read_value): Remove, update + callers to use readable_regcache::cooked_read_value. + * regcache.c (regcache_cooked_read_value): Remove. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_cooked_write): Remove, update callers to + use regcache::cooked_write. + * regcache.c (regcache_cooked_write): Remove. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_invalidate): Remove, update callers to + use detached_regcache::invalidate instead. + * regcache.c (regcache_invalidate): Remove. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_raw_write_part): Remove, update callers + to use regcache::raw_write_part instead. + * regcache.c (regcache_raw_write_part): Remove. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_raw_read_part): Remove, update callers to + use readable_regcache::raw_read_part instead. + * regcache.c (regcache_raw_read_part): Remove. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_cooked_read): Remove, update callers to + use readable_regcache::cooked_read instead. + * regcache.c (regcache_cooked_read): Remove. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_raw_write): Remove, update callers to use + regcache::raw_write instead. + * regcache.c (regcache_raw_write): Remove. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_raw_read): Remove, update callers to use + readable_regcache::raw_read instead. + * regcache.c (regcache_raw_read): Remove. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_raw_update): Remove, update callers to + use readable_regcache::raw_update instead. + * regcache.c (regcache_raw_update): Remove. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_register_status): Remove, update callers + to use reg_buffer::get_register_status directly instead. + * regcache.c (regcache_register_status): Remove. + +2018-05-30 Simon Marchi + + * regcache.h (regcache_get_ptid): Remove, update all callers to + call regcache::ptid instead. + * regcache.c (regcache_get_ptid): Remove. + +2018-05-30 Simon Marchi + + * Makefile.in (ALL_TARGET_OBS): Add or1k-tdep.o. + +2018-05-30 Pedro Alves + + * common/common-exceptions.h (exception_rethrow): Use + ATTRIBUTE_NORETURN. + +2018-05-29 Simon Marchi + + * breakpoint.c (print_solib_event, check_status_catch_solib): + Remove struct keyword in range-based for loops. + * dbxread.c (find_corresponding_bincl_psymtab): Likewise. + * dwarf2read.c (compute_delayed_physnames, rust_union_quirks); + Likewise. + * linespec.c (find_superclass_methods, search_minsyms_for_name): + Likewise. + * symfile.c (addr_info_make_relative): Likewise. + * thread.c (value_in_thread_stack_temporaries): Likewise. + +2018-05-29 Weimin Pan + + * minsyms.h (lookup_minimal_symbol_and_objfile): Remove declaration. + * minsyms.c (lookup_minimal_symbol_and_objfile): Remove definition. + * coff-pe-read.c (add_pe_forwarded_sym): Replace + lookup_minimal_symbol_and_objfile with lookup_bound_minimal_symbol. + * glibc-tdep.c (glibc_skip_solib_resolver): Likewise. + * jit.c (jit_breakpoint_re_set_internal): Likewise. + * printcmd.c (info_address_command): Likewise. + +2018-05-29 Tom Tromey + + * windows-nat.c (handle_exception): Update fall-through comment. + +2018-05-29 Tom Tromey + + * progspace.h (so_list_ptr): Remove typedef. Don't declare VEC. + (struct program_space) : Now a std::vector. + * breakpoint.c (print_solib_event): Update. + (check_status_catch_solib): Update. + * progspace.c (clear_program_space_solib_cache): Update. + * solib.c (update_solib_list): Update. + +2018-05-29 Tom Tromey + + * python/py-type.c (typy_richcompare): Update. + * guile/scm-type.c (tyscm_equal_p_type_smob): Update. + * gdbtypes.h (types_deeply_equal): Return bool. + (types_equal): Likewise. + * gdbtypes.c (type_equality_entry_d): Remove typedef. Don't + declare VEC. + (check_types_equal): Change worklist to std::vector. Return + bool. + (struct type_equality_entry): Add constructor. + (compare_maybe_null_strings): Return bool. + (check_types_worklist): Return bool. Change worklist to + std::vector. + (types_deeply_equal): Use std::vector. + (types_equal): Return bool. + (compare_maybe_null_strings): Simplify. + +2018-05-29 Tom Tromey + + * record-btrace.c (tp_t): Remove typedef. Don't declare VEC. + +2018-05-29 Tom Tromey + + * objc-lang.h: Don't include cp-support.h. + * common/gdb_vecs.h (const_char_ptr): Remove typedef. Don't + declare VEC. + +2018-05-27 Tom Tromey + + * Makefile.in (DEPFILES): Don't reference REMOTE_OBS. + +2018-05-25 Tom Tromey + + * value.c (value::location): Initialize. + +2018-05-25 Tom Tromey + + * dbxread.c (init_bincl_list): Remove. + (bincl_list): Now a std::vector. + (bincls_allocated, next_bincl): Remove. + (free_bincl_list, do_free_bincl_list_cleanup) + (make_cleanup_free_bincl_list): Remove. + (dbx_read_symtab, elfstab_build_psymtabs): Use scoped_restore, + unique_xmalloc_ptr. + (find_corresponding_bincl_psymtab, read_dbx_symtab): Update. + (struct header_file_location): Add constructor. + (add_bincl_to_list): Remove. + +2018-05-25 Tom Tromey + + * tui/tui.c (tui_enable): Update. + * mi/mi-interp.c (mi_interp::init): Update. + * interps.h (class interp) : New method. + : Rename from name. + (~scoped_restore_interp): Update. + * interps.c (interp::interp): Update. + (interp_add, interp_set, interp_lookup_existing) + (current_interp_named_p): Update. + +2018-05-25 Tom Tromey + + * interps.c (interp_name): Remove. + * mi/mi-interp.c (mi_interp::init): Update. + * interps.h (interp_name): Remove. + (~scoped_restore_interp): Update. + * tui/tui.c (tui_enable): Update. + +2018-05-25 Tom Tromey + + * utils.c (fputs_maybe_filtered): Update. + * linespec.c (decode_line_full): Update. + * mi/mi-interp.c (mi_on_normal_stop_1, mi_tsv_modified) + (mi_print_breakpoint_for_event, mi_solib_loaded) + (mi_solib_unloaded, mi_command_param_changed, mi_memory_changed) + (mi_user_selected_context_changed): Update. + * mi/mi-main.c (mi_execute_command): Update. + * cli/cli-script.c (execute_control_command): Update. + * python/python.c (execute_gdb_command): Update. + * solib.c (info_sharedlibrary_command): Update. + * interps.c (interp_ui_out): Remove. + * interps.h (interp_ui_out): Remove. + +2018-05-25 Tom Tromey + + * tui/tui-interp.c (as_tui_interp): Use dynamic_cast. + * mi/mi-interp.c (as_mi_interp): Use dynamic_cast. + * cli/cli-interp.c (as_cli_interp): Use dynamic_cast. + +2018-05-25 Tom Tromey + + * cli/cli-interp.c (safe_execute_command): Use scoped_restore. + * interps.c (interp_exec): Use scoped_restore. + +2018-05-25 Tom Tromey + + * remote.c (remote_target::remote_file_get): Use + gdb::byte_vector. + (remote_target::remote_file_put): Likewise. + +2018-05-25 Tom Tromey + + * coff-pe-read.c (struct read_pe_section_data) : Now + a std::string. + (get_pe_section_index, add_pe_exported_sym): Update. + (read_pe_exported_syms): Use gdb::def_vector. + +2018-05-25 Tom Tromey + + * frame.c (remove_prev_frame): Remove. + (get_prev_frame_if_no_cycle): Use TRY/CATCH. + +2018-05-25 Maciej W. Rozycki + + * mips-linux-tdep.h (mips_supply_fpregset, mips_fill_fpregset): + Remove prototypes. + * mips-linux-nat.c (supply_fpregset): Always call + `mips64_supply_fpregset' rather than `mips_supply_fpregset'. + (fill_fpregset): Always call `mips64_fill_fpregset' rather than + `mips_fill_fpregset'. + * mips-linux-tdep.c (mips_supply_fpregset) + (mips_supply_fpregset_wrapper, mips_fill_fpregset) + (mips_fill_fpregset_wrapper): Remove functions. + (mips64_supply_fpregset, mips64_fill_fpregset): Update comments. + (mips_linux_fpregset): Remove variable. + (mips_linux_iterate_over_regset_sections): Use + `mips64_linux_fpregset' in place of `mips_linux_fpregset'. + (mips_linux_o32_sigframe_init): Remove comment. + +2018-05-25 Pedro Alves + + * remote.c (struct vCont_action_support, MAXTHREADLISTRESULTS) + (struct readahead_cache, struct packet_reg, struct + remote_arch_state, class remote_state): Move higher up in the + file. + (remote_target::m_remote_state): Now an object instead of a pointer. + (remote_target::get_remote_state): Adjust. + +2018-05-24 Andrew Burgess + + * stack.c (select_and_print_frame): Delete. + (struct function_bounds): Move struct within function. + (func_command): Most content moved into new function + find_frame_for_function, use new function, print result, add + function comment. + (find_frame_for_function): New function, now returns a result. + +2018-05-24 Philippe Waroquiers + + * stack.c (iterate_over_block_arg_vars): Fix comment. + (print_frame_arg_vars): Pass stream in cb_data, not gdb_stdout. + +2018-05-24 Andrew Burgess + + PR gdb/23203 + * frame.c + (scoped_restore_selected_frame::scoped_restore_selected_frame): + Define. + (scoped_restore_selected_frame::~scoped_restore_selected_frame): + Define. + * frame.h (class scoped_restore_selected_frame): New class. + * stack.c (print_frame_local_vars): Remove catching and rethrowing + of any exception, use scoped_restore_selected_frame to restore the + frame instead. + +2018-05-24 Pedro Alves + + * darwin-nat.h (darwin_nat_target::create_inferior): Mark with + override. + +2018-05-23 Tom Tromey + + * complaints.c (struct complaints): Remove. + (symfile_complaint_book): Remove. + (series): New global. + (complaint_internal): Update. + (clear_complaints): Update. + +2018-05-23 Tom Tromey + + * complaints.c (counters): New global. + (struct complain): Remove. + (struct complaints) : Remove. + (complaint_sentinel): Remove. + (symfile_complaint_book): Update. + (find_complaint) Remove. + (complaint_internal, clear_complaints): Update. + +2018-05-23 Tom Tromey + + * complaints.c (struct complain) : Remove. + (find_complaint): Remove file, line parameters. + (complaint_internal): Update. + +2018-05-23 Tom Tromey + + * complaints.c (vcomplaint): Remove. + (complaint_internal) Merge in contents of vcomplaint. + +2018-05-23 Tom Tromey + + * complaints.c (struct complaints) : Remove. + (symfile_explanations): Remove. + (symfile_complaint_book): Update. + (vcomplaint): Update. + (struct explanation): Remove. + +2018-05-23 Tom Tromey + + * complaints.c (symfile_complaints): Remove. + (complaint_internal): Remove "complaints" parameter. + (clear_complaints, vcomplaint): Remove "c" parameter. + (get_complaints): Remove. + * dwarf2read.c (dwarf2_statement_list_fits_in_line_number_section_complaint) + (dwarf2_debug_line_missing_file_complaint) + (dwarf2_debug_line_missing_end_sequence_complaint) + (dwarf2_complex_location_expr_complaint) + (dwarf2_const_value_length_mismatch_complaint) + (dwarf2_section_buffer_overflow_complaint) + (dwarf2_macro_malformed_definition_complaint) + (dwarf2_invalid_attrib_class_complaint) + (create_addrmap_from_index, dw2_symtab_iter_next) + (dw2_expand_marked_cus) + (dw2_debug_names_iterator::find_vec_in_debug_names) + (dw2_debug_names_iterator::next, dw2_debug_names_iterator::next) + (create_debug_type_hash_table, init_cutu_and_read_dies) + (partial_die_parent_scope, add_partial_enumeration) + (skip_one_die, fixup_go_packaging, quirk_rust_enum, process_die) + (dwarf2_compute_name, dwarf2_physname, read_namespace_alias) + (read_import_statement, read_file_scope, create_dwo_cu_reader) + (create_cus_hash_table, create_dwp_hash_table) + (inherit_abstract_dies, read_func_scope, read_call_site_scope) + (dwarf2_rnglists_process, dwarf2_ranges_process) + (dwarf2_add_type_defn, dwarf2_attach_fields_to_type) + (dwarf2_add_member_fn, get_alignment, maybe_set_alignment) + (handle_struct_member_die, process_structure_scope) + (read_array_type, read_common_block, read_module_type) + (read_tag_pointer_type, read_typedef, read_base_type) + (read_subrange_type, load_partial_dies, partial_die_info::read) + (partial_die_info::read, partial_die_info::read) + (partial_die_info::read, read_checked_initial_length_and_offset) + (dwarf2_string_attr, read_formatted_entries) + (dwarf_decode_line_header) + (lnp_state_machine::check_line_address, dwarf_decode_lines_1) + (new_symbol, dwarf2_const_value_attr, lookup_die_type) + (read_type_die_1, determine_prefix, dwarf2_get_ref_die_offset) + (dwarf2_get_attr_constant_value, dwarf2_fetch_constant_bytes) + (get_signatured_type, get_DW_AT_signature_type) + (decode_locdesc, file_file_name, consume_improper_spaces) + (skip_form_bytes, skip_unknown_opcode, dwarf_parse_macro_header) + (dwarf_decode_macro_bytes, dwarf_decode_macros) + (dwarf2_symbol_mark_computed, set_die_type) + (read_attribute_value): Update. + * stap-probe.c (handle_stap_probe, get_stap_base_address): + Update. + * dbxread.c (unknown_symtype_complaint) + (lbrac_mismatch_complaint, repeated_header_complaint) + (set_namestring, function_outside_compilation_unit_complaint) + (read_dbx_symtab, process_one_symbol): Update. + * gdbtypes.c (stub_noname_complaint): Update. + * windows-nat.c (handle_unload_dll): Update. + * coffread.c (coff_symtab_read, enter_linenos, decode_type) + (decode_base_type): Update. + * xcoffread.c (bf_notfound_complaint, ef_complaint) + (eb_complaint, record_include_begin, record_include_end) + (enter_line_range, xcoff_next_symbol_text, read_xcoff_symtab) + (process_xcoff_symbol, read_symbol) + (function_outside_compilation_unit_complaint) + (scan_xcoff_symtab): Update. + * machoread.c (macho_symtab_read, macho_add_oso_symfile): Update. + * buildsym.c (finish_block_internal, make_blockvector) + (end_symtab_get_static_block, augment_type_symtab): Update. + * dtrace-probe.c (dtrace_process_dof) + (dtrace_static_probe_ops::get_probes): Update. + * complaints.h (struct complaint): Don't declare. + (symfile_complaints): Remove. + (complaint_internal): Remove "complaints" parameter. + (complaint): Likewise. + (clear_complaints): Likewise. + * symfile.c (syms_from_objfile_1, finish_new_objfile) + (reread_symbols): Update. + * dwarf2-frame.c (dwarf2_restore_rule, execute_cfa_program) + (dwarf2_frame_cache, decode_frame_entry): Update. + * dwarf2loc.c (dwarf_reg_to_regnum): Update. + * objc-lang.c (lookup_objc_class, lookup_child_selector) + (info_selectors_command): Update. + * macrotab.c (macro_include, check_for_redefinition) + (macro_undef): Update. + * objfiles.c (filter_overlapping_sections): Update. + * stabsread.c (invalid_cpp_abbrev_complaint) + (reg_value_complaint, stabs_general_complaint, dbx_lookup_type) + (define_symbol, error_type, read_type, rs6000_builtin_type) + (stabs_method_name_from_physname, read_member_functions) + (read_cpp_abbrev, read_baseclasses, read_tilde_fields) + (attach_fields_to_type, complain_about_struct_wipeout) + (read_range_type, read_args, common_block_start) + (common_block_end, cleanup_undefined_types_1, scan_file_globals): + Update. + * mdebugread.c (index_complaint, unknown_ext_complaint) + (basic_type_complaint, bad_tag_guess_complaint) + (bad_rfd_entry_complaint, unexpected_type_code_complaint) + (reg_value_complaint, parse_symbol, parse_type, upgrade_type) + (parse_procedure, parse_lines) + (function_outside_compilation_unit_complaint) + (parse_partial_symbols, psymtab_to_symtab_1, cross_ref) + (bad_tag_guess_complaint, reg_value_complaint): Update. + * cp-support.c (demangled_name_complaint): Update. + * macroscope.c (sal_macro_scope): Update. + * dwarf-index-write.c (class debug_names): Update. + 2018-05-23 Tom Tromey * complaints.c (clear_complaints): Remove "noisy" parameter.