Add ChangeLog entry for e5a77256e8961294b3ea7d483124834311ca363b
[external/binutils.git] / gdb / ChangeLog
index 350e085..f0b6b95 100644 (file)
@@ -1,3 +1,781 @@
+2018-06-07  Pedro Alves  <palves@redhat.com>
+
+       * target.h (target_ops) <beneath>: 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  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * target.h (target_ops) <beneath>: Now a method.  All references
+       updated.
+       (target_ops) <m_beneath>: 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  <palves@redhat.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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  <alan.hayward@arm.com>
+
+        * 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  <sergiodj@redhat.com>
+
+        * arch/aarch64.h (sve_vq_from_vl): Guard with #ifndef.
+        (sve_vl_from_vq): Likewise.
+
+2018-06-05  Tom Tromey  <tom@tromey.com>
+
+       * 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  <dmalcolm@redhat.com>
+
+       * common/enum-flags.h: Add trailing semicolon to example in
+       comment.
+
+2018-06-05  Tom Tromey <tom@tromey.com>
+
+       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  <tom@tromey.com>
+
+       * 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  <brobecker@adacore.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * Makefile.in (config.status): Add configure.nat as a
+       dependency.
+
+2018-06-04  Tom Tromey  <tom@tromey.com>
+
+       * 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  <alan.hayward@arm.com>
+
+       * elfread.c (elf_symfile_segments): Use ELF_SECTION_IN_SEGMENT.
+
+2018-06-04  Alan Hayward  <alan.hayward@arm.com>
+
+       * 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  <palves@redhat.com>
+
+       * darwin-nat.c (darwin_ops): Delete.
+       (darwin_attach_pid): Use get_native_target.
+
+2018-06-04  Alan Hayward  <alan.hayward@arm.com>
+
+       * aarch64-tdep.c (aarch64_get_tdesc_vq): Use uint64_t for VQ.
+       * aarch64-tdep.h (struct gdbarch_tdep): Likewise.
+
+2018-06-04  Alan Hayward  <alan.hayward@arm.com>
+
+       * 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  <alan.hayward@arm.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * 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  <tom@tromey.com>
+
+       * cp-name-parser.y (backslashable, represented): Now const.
+
+2018-06-01  Tom Tromey  <tom@tromey.com>
+
+       * cp-name-parser.y: Include parser-defs.h.
+       (parser_fprintf): Remove declaration.
+
+2018-06-01  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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  <hongjiu.lu@intel.com>
+
+       * 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  <brobecker@adacore.com>
+
+       * breakpoint.c (breakpoint_re_set): Temporarily force language_mode
+       to language_mode_manual while calling breakpoint_re_set_one.
+
+2018-06-01  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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) <tag_name>: 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  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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  <alan.hayward@arm.com>
+
+       * 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  <ubizjak@gmail.com>
+
+       * nat/linux-ptrace.h [__alpha__]
+       (GDB_ARCH_IS_TRAP_BRKPT, GDB_ARCH_IS_TRAP_HWBKPT): Remove
+       definitions.
+
+2018-05-31  Maciej W. Rozycki  <macro@mips.com>
+
+       * 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  <alan.hayward@arm.com>
+
+       * 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  <alan.hayward@arm.com>
+
+       * 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  <omair.javaid@linaro.org>
+
+       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  <brobecker@adacore.com>
+
+       * stack.c (func_command): Remove trailing newline in call to error.
+
+2018-05-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * regcache.h (regcache_raw_collect): Remove, update callers to
+       use regcache::raw_collect.
+       * regcache.c (regcache_raw_collect): Remove.
+
+2018-05-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * regcache.h (regcache_cooked_write): Remove, update callers to
+       use regcache::cooked_write.
+       * regcache.c (regcache_cooked_write): Remove.
+
+2018-05-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * regcache.h (regcache_invalidate): Remove, update callers to
+       use detached_regcache::invalidate instead.
+       * regcache.c (regcache_invalidate): Remove.
+
+2018-05-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * Makefile.in (ALL_TARGET_OBS): Add or1k-tdep.o.
+
+2018-05-30  Pedro Alves  <palves@redhat.com>
+
+       * common/common-exceptions.h (exception_rethrow): Use
+       ATTRIBUTE_NORETURN.
+
+2018-05-29  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * 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  <weimin.pan@oracle.com>
+
+       * 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  <tom@tromey.com>
+
+       * windows-nat.c (handle_exception): Update fall-through comment.
+
+2018-05-29  Tom Tromey  <tom@tromey.com>
+
+       * progspace.h (so_list_ptr): Remove typedef.  Don't declare VEC.
+       (struct program_space) <added_solibs>: 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  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * record-btrace.c (tp_t): Remove typedef.  Don't declare VEC.
+
+2018-05-29  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * Makefile.in (DEPFILES): Don't reference REMOTE_OBS.
+
+2018-05-25  Tom Tromey  <tom@tromey.com>
+
+       * value.c (value::location): Initialize.
+
+2018-05-25  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * tui/tui.c (tui_enable): Update.
+       * mi/mi-interp.c (mi_interp::init): Update.
+       * interps.h (class interp) <name>: New method.
+       <m_name>: 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 <tom@tromey.com>
+
+       * 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 <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * cli/cli-interp.c (safe_execute_command): Use scoped_restore.
+       * interps.c (interp_exec): Use scoped_restore.
+
+2018-05-25  Tom Tromey  <tom@tromey.com>
+
+       * remote.c (remote_target::remote_file_get): Use
+       gdb::byte_vector.
+       (remote_target::remote_file_put): Likewise.
+
+2018-05-25  Tom Tromey  <tom@tromey.com>
+
+       * coff-pe-read.c (struct read_pe_section_data) <section_name>: 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  <tom@tromey.com>
+
+       * frame.c (remove_prev_frame): Remove.
+       (get_prev_frame_if_no_cycle): Use TRY/CATCH.
+
+2018-05-25  Maciej W. Rozycki  <macro@mips.com>
+
+       * 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  <palves@redhat.com>
+
+       * 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  <andrew.burgess@embecosm.com>
+
+       * 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  <philippe.waroquiers@skynet.be>
+
+       * 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  <andrew.burgess@embecosm.com>
+
+       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  <palves@redhat.com>
+
+       * darwin-nat.h (darwin_nat_target::create_inferior): Mark with
+       override.
+
+2018-05-23  Tom Tromey  <tom@tromey.com>
+
+       * complaints.c (struct complaints): Remove.
+       (symfile_complaint_book): Remove.
+       (series): New global.
+       (complaint_internal): Update.
+       (clear_complaints): Update.
+
+2018-05-23  Tom Tromey  <tom@tromey.com>
+
+       * complaints.c (counters): New global.
+       (struct complain): Remove.
+       (struct complaints) <root>: Remove.
+       (complaint_sentinel): Remove.
+       (symfile_complaint_book): Update.
+       (find_complaint) Remove.
+       (complaint_internal, clear_complaints): Update.
+
+2018-05-23  Tom Tromey  <tom@tromey.com>
+
+       * complaints.c (struct complain) <file, line>: Remove.
+       (find_complaint): Remove file, line parameters.
+       (complaint_internal): Update.
+
+2018-05-23  Tom Tromey  <tom@tromey.com>
+
+       * complaints.c (vcomplaint): Remove.
+       (complaint_internal) Merge in contents of vcomplaint.
+
 2018-05-23  Tom Tromey  <tom@tromey.com>
 
        * complaints.c (struct complaints) <explanation>: Remove.