+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * or1k-tdep.c (or1k_dummy_id): Delete.
+ (or1k_gdbarch_init): Don't register deleted function with gdbarch.
+
+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * nios2-tdep.c (nios2_dummy_id): Delete.
+ (nios2_unwind_sp): Delete.
+ (nios2_gdbarch_init): Don't register deleted functions with
+ gdbarch.
+
+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * nds32-tdep.c (nds32_dummy_id): Delete.
+ (nds32_unwind_pc): Delete.
+ (nds32_unwind_sp): Delete.
+ (nds32_gdbarch_init): Don't register deleted functions with
+ gdbarch.
+
+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * msp430-tdep.c (msp430_unwind_pc): Delete.
+ (msp430_unwind_sp): Delete.
+ (msp430_dummy_id): Delete.
+ (msp430_gdbarch_init): Don't register deleted functions with
+ gdbarch.
+
+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * moxie-tdep.c (moxie_unwind_sp): Delete.
+ (moxie_unwind_pc): Delete.
+ (moxie_dummy_id): Delete.
+ (moxie_gdbarch_init): Don't register deleted functions with
+ gdbarch.
+
+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * mn10300-tdep.c (mn10300_dummy_id): Delete.
+ (mn10300_unwind_pc): Delete.
+ (mn10300_unwind_sp): Delete.
+ (mn10300_push_dummy_call): Use gdbarch_unwind_sp not
+ mn10300_unwind_sp.
+ (mn10300_frame_unwind_init): Don't register deleted functions with
+ gdbarch.
+
+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * mep-tdep.c (mep_unwind_pc): Delete.
+ (mep_unwind_sp): Delete.
+ (mep_dummy_id): Delete.
+ (mep_gdbarch_init): Don't register deleted functions with
+ gdbarch.
+
+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * m68hc11-tdep.c (m68hc11_unwind_pc): Delete.
+ (m68hc11_unwind_sp): Delete.
+ (m68hc11_gdbarch_init): Don't register deleted functions with
+ gdbarch.
+
+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * m32r-tdep.c (m32r_unwind_sp): Delete.
+ (m32r_unwind_pc): Delete.
+ (m32r_dummy_id): Delete.
+ (m32r_gdbarch_init): Don't register deleted functions with
+ gdbarch.
+
+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * m32c-tdep.c (m32c_unwind_pc): Delete.
+ (m32c_unwind_sp): Delete.
+ (m32c_dummy_id): Delete.
+ (m32c_gdbarch_init): Don't register deleted functions with
+ gdbarch.
+
+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * gdb/lm32-tdep.c (lm32_unwind_sp): Delete.
+ (lm32_unwind_pc): Delete.
+ (lm32_dummy_id): Delete.
+ (lm32_gdbarch_init): Don't register deleted functions with
+ gdbarch.
+
+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * gdb/iq2000-tdep.c (iq2000_unwind_sp): Delete.
+ (iq2000_unwind_pc): Delete.
+ (iq2000_dummy_id): Delete.
+ (iq2000_gdbarch_init): Don't register deleted functions with
+ gdbarch.
+
+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * nds32-tdep.c (nds32_type_align): Delete.
+ (nds32_push_dummy_call): Use type_align instead.
+
+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * arm-tdep.c (arm_type_align): Only handle vector override case.
+ (arm_push_dummy_call): Use type_align.
+ (arm_gdbarch_init): Register arm_type_align gdbarch function.
+
+2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * aarch64-tdep.c (aarch64_type_align): Only handle vector override
+ case.
+ (pass_on_stack): Use type_align.
+ (aarch64_gdbarch_init): Register aarch64_type_align gdbarch
+ function.
+
+2019-04-23 Tom Tromey <tromey@adacore.com>
+
+ * dwarf2read.c (line_header::file_name_at): Remove unused
+ overload.
+
+2019-04-23 Tom de Vries <tdevries@suse.de>
+
+ PR gdb/24438
+ * contrib/cc-with-tweaks.sh: Remove superfluous .alt file after dwz
+ invocation.
+
+
+2019-03-27 Ali Tamur <tamur@google.com>
+
+ * dwarf2-frame.c(dwarf_expr_executor::get_addr_index): Update comment
+ * dwarf2expr.c(dwarf_expr_context::execute_stack_op): Add DW_OP_addrx
+ * dwarf2expr.h(dwarf_expr_context::offset): Update comment
+ (dwarf_expr_context::get_addr_index): Likewise
+ * dwarf2loc.c(dwarf_evaluate_loc_desc::get_addr_index): Likewise
+ (symbol_needs_eval_context::get_addr_index): Likewise
+ (disassemble_dwarf_expression): Add DW_OP_addrx
+ * dwarf2read.c(attr_value_as_address): Add DW_FORM_addrx
+ (read_cutu_die_from_dwo): Update comment
+ (skip_one_die): Add DW_FORM_addrx
+ (read_attribute_value): Likewise
+ (var_decode_location): Add DW_OP_addrx
+ (dwarf2_const_value_attr): Add DW_FORM_addrx
+ (dump_die_shallow): Likewise
+ (dwarf2_fetch_constant_bytes): Likewise
+ (decode_locdesc): Add DW_OP_addrx
+ (skip_form_bytes): Add DW_FORM_addrx
+
+2019-04-22 Ali Tamur <tamur@google.com>
+
+ * MAINTAINERS (Write After Approval): Add self.
+
+2019-04-22 Simon Marchi <simon.marchi@efficios.com>
+
+ * solib-svr4.c (get_svr4_info): Add pspace parameter.
+ (svr4_keep_data_in_core): Pass current_program_space to get_svr4_info.
+ (open_symbol_file_object): Likewise.
+ (svr4_default_sos): Add info parameter.
+ (svr4_read_so_list): Likewise.
+ (svr4_current_sos_direct): Adjust functions calls to pass down
+ info.
+ (svr4_current_sos_1): Add info parameter.
+ (svr4_current_sos): Call get_svr4_info, pass info down to
+ svr4_current_sos_1.
+ (svr4_fetch_objfile_link_map): Pass objfile->pspace to
+ get_svr4_info.
+ (svr4_in_dynsym_resolve_code): Pass current_program_space to
+ get_svr4_info.
+ (probes_table_htab_remove_objfile_probes): Pass objfile->pspace
+ to get_svr4_info.
+ (probes_table_remove_objfile_probes): Likewise.
+ (register_solib_event_probe): Add info parameter.
+ (solist_update_incremental): Pass info parameter down to
+ svr4_read_so_list.
+ (disable_probes_interface): Add info parameter.
+ (svr4_handle_solib_event): Pass current_program_space to
+ get_svr4_info. Adjust disable_probes_interface cleanup.
+ (svr4_create_probe_breakpoints): Add info parameter, pass it
+ down to register_solib_event_probe.
+ (svr4_create_solib_event_breakpoints): Add info parameter,
+ pass it down to svr4_create_probe_breakpoints.
+ (enable_break): Pass info down to
+ svr4_create_solib_event_breakpoints.
+ (svr4_solib_create_inferior_hook): Pass current_program_space to
+ get_svr4_info.
+ (svr4_clear_solib): Likewise.
+
+2019-04-22 Pedro Alves <palves@redhat.com>
+
+ * solib-svr4.c (svr4_free_objfile_observer): New.
+ (probe_and_action::objfile): New field.
+ (probes_table_htab_remove_objfile_probes)
+ (probes_table_remove_objfile_probes): New functions.
+ (register_solib_event_probe): Add 'objfile' parameter. Store it
+ in the new probe_and_action. Don't store the probe in 'lookup'.
+ (svr4_create_probe_breakpoints): Pass objfile to
+ register_solib_event_probe.
+ (_initialize_svr4_solib): Register a free_objfile observer.
+
+2019-04-19 Tom Tromey <tom@tromey.com>
+
+ * common/queue.h: Remove.
+
+2019-04-19 Tom Tromey <tom@tromey.com>
+
+ * event-loop.c: Don't include "common/queue.h".
+
+2019-04-19 Tom Tromey <tom@tromey.com>
+
+ * remote.c (remote_target): Use delete.
+ * remote-notif.h: Include <list>, not "common/queue.h".
+ (notif_client_p): Remove typedef.
+ (remote_notif_state): Add constructor, destructor, initializer.
+ <notif_queue>: Now a std::list.
+ (remote_notif_state_xfree): Don't declare.
+ * remote-notif.c (remote_notif_process, handle_notification)
+ (remote_notif_state_allocate): Update.
+ (~remote_notif_state): Rename from remote_notif_state_xfree.
+
+2019-04-19 Tom Tromey <tom@tromey.com>
+
+ * symfile.c (reread_symbols): Update.
+ * objfiles.c (objfile_register_static_link)
+ (objfile_lookup_static_link): Update
+ (~objfile) Don't delete static_links.
+ * objfiles.h (struct objfile) <static_links>: Now an htab_up.
+
+2019-04-19 Tom Tromey <tom@tromey.com>
+
+ * type-stack.h (struct type_stack) <insert>: Constify string.
+ * type-stack.c (type_stack::insert): Constify string.
+ * gdbtypes.h (lookup_template_type): Update.
+ (address_space_name_to_int): Update.
+ * gdbtypes.c (address_space_name_to_int): Make space_identifier
+ const.
+ (lookup_template_type): Make name const.
+ * c-exp.y: Update rules.
+ (lex_one_token, classify_name, classify_inner_name)
+ (c_print_token): Update.
+ * p-exp.y: Update rules.
+ (yylex): Update.
+ * f-exp.y: Update rules.
+ (yylex): Update.
+ * d-exp.y: Update rules.
+ (lex_one_token, classify_name, classify_inner_name): Update.
+ * parse.c (write_dollar_variable, copy_name): Return std::string.
+ * parser-defs.h (copy_name): Change return type.
+ * m2-exp.y: Update rules.
+ (yylex): Update.
+ * go-exp.y (lex_one_token): Update.
+ Update rules.
+ (classify_unsafe_function, classify_packaged_name)
+ (classify_name, yylex): Update.
+
+2019-04-19 Sergei Trofimovich <siarheit@google.com>
+
+ * configure.ac: add --enable-source-highlight switch.
+ * configure: Regenerate.
+ * top.c (print_gdb_version): plumb --enable-source-highlight
+ status to "show configuration".
+
+2019-04-19 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (ada_is_variant_part, ada_to_fixed_type_1):
+ Check ADA_TYPE_P.
+ (empty_record, ada_template_to_fixed_record_type_1)
+ (template_to_static_fixed_type)
+ (to_record_with_fixed_variant_part): Use INIT_NONE_SPECIFIC.
+ * cp-abi.c (value_rtti_type): Check HAVE_CPLUS_STRUCT.
+ * gdbtypes.h (INIT_NONE_SPECIFIC, ADA_TYPE_P): New
+ macros.
+
+2019-04-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
+
+ PR symtab/24423:
+ * source.c (print_source_lines_base): Advance "iter" when a
+ control character is seen.
+
+2019-04-19 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * inferior.h (struct infcall_suspend_state_deleter):
+ Catch exception in destructor to avoid crash.
+
+2019-04-19 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * cli/cli-cmds.c (_initialize_cli_cmds): Move "shell" "!" alias
+ close to the add_com "shell".
+
+2019-04-18 Tom Tromey <tromey@adacore.com>
+
+ * process-stratum-target.h (class process_stratum_target)
+ <stratum>: Add "final".
+
+2019-04-17 Tom Tromey <tromey@adacore.com>
+
+ * dwarf2read.c (dwarf2_init_complex_target_type): Check "tt"
+ against nullptr before use.
+
+2019-04-17 Alan Hayward <alan.hayward@arm.com>
+
+ * nat/linux-waitpid.c (linux_debug): Call debug_vprintf.
+
+2019-04-17 Jim Wilson <jimw@sifive.com>
+ Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (riscv_breakpoint_kind_from_pc): Hanndle case where
+ code read might fail, assume 4-byte breakpoint in that case.
+
+2019-04-15 Leszek Swirski <leszeks@google.com>
+
+ * amd64-tdep.c (amd64_classify_aggregate): Use cp_pass_by_reference
+ rather than a hand-rolled POD check when checking for forced MEMORY
+ classification.
+
+2019-04-15 Alan Hayward <alan.hayward@arm.com>
+
+ * aarch64-linux-nat.c (store_sveregs_to_thread): Set vector length.
+ * nat/aarch64-sve-linux-ptrace.c (aarch64_sve_set_vq): New
+ function.
+ (aarch64_sve_regs_copy_to_reg_buf): Remove VG checks.
+ (aarch64_sve_regs_copy_from_reg_buf): Likewise.
+ * nat/aarch64-sve-linux-ptrace.h (aarch64_sve_set_vq): New
+ declaration.
+
+2019-04-15 Alan Hayward <alan.hayward@arm.com>
+
+ * aarch64-linux-nat.c
+ (aarch64_linux_nat_target::thread_architecture): Add override.
+ * aarch64-tdep.c (aarch64_gdbarch_init): Ensure different tdesc for
+ each VQ.
+
+2019-04-15 Alan Hayward <alan.hayward@arm.com>
+
+ * aarch64-tdep.c (aarch64_gdbarch_init): Move gdbarch lookup.
+
+2019-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * dwarf2read.c (dwarf2_init_complex_target_type): Handle complex
+ target types of size 96-bits, add some additional comments, and
+ check that the builtin type we found was the correct size.
+
+2019-04-12 Eli Zaretskii <eliz@gnu.org>
+
+ * utils.c (prompt_for_continue): Don't restore the styling at the
+ end, as applied_style has the wrong value. This fixes styling in
+ long lists of file names that are interrupted by the "Continue?"
+ prompt.
+
+2019-04-12 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * ada-lang.c (ada_language_defn): Remove use of LANG_MAGIC.
+ * c-lang.c (c_language_defn): Likewise.
+ (cplus_language_defn): Likewise.
+ (asm_language_defn): Likewise.
+ (minimal_language_defn): Likewise.
+ * d-lang.c (d_language_defn): Likewise.
+ * f-lang.c (f_language_defn): Likewise.
+ * go-lang.c (go_language_defn): Likewise.
+ * language.c (unknown_language_defn): Likewise.
+ (auto_language_defn): Likewise.
+ * language.h (struct language_defn): Remove la_magic field.
+ (LANG_MAGIC): Delete.
+ * m2-lang.c (m2_language_defn): Remove use of LANG_MAGIC.
+ * objc-lang.c (objc_language_defn): Likewise.
+ * opencl-lang.c (opencl_language_defn): Likewise.
+ * p-lang.c (pascal_language_defn): Likewise.
+ * rust-lang.c (rust_language_defn): Likewise.
+
+2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (riscv_type_align): New function.
+ (riscv_type_alignment): Delete.
+ (riscv_arg_location): Use 'type_align'.
+ (riscv_gdbarch_init): Register riscv_type_align gdbarch function.
+
+2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * gdbtypes.c (type_align): A struct with no non-static fields also
+ has alignment of 1.
+
+2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (riscv_call_arg_complex_float): Fix offset of first
+ component to 0.
+ (riscv_struct_info::riscv_struct_info): Initialise m_offsets
+ member.
+ (riscv_struct_info::analyse): New implementation using new
+ analyse_inner member function.
+ (riscv_struct_info::field_offset): New member function.
+ (riscv_struct_info::m_offsets): New member variable.
+ (riscv_struct_info::analyse_inner): New private member function,
+ takes the old implementation of riscv_struct_info::analyse but
+ extended to track field offsets.
+ (riscv_call_arg_struct): Update the struct folding special cases
+ to handle cases where empty C++ structs, which are non-zero
+ length, are found.
+ (riscv_arg_location): Initialise the length of each location, a
+ non-zero length now indicates the location is in use.
+ (riscv_push_dummy_call): Allow for the first location having a
+ non-zero offset when setting up arguments.
+ (riscv_return_value): Likewise, but for return values.
+
+2019-04-11 Tom Tromey <tromey@adacore.com>
+
+ * utils.c (internal_vproblem): Make "msg" const.
+
+2019-04-11 Alan Hayward <alan.hayward@arm.com>
+
+ * aarch64-tdep.c (aarch64_analyze_prologue_test): Reset saved regs.
+ * trad-frame.c (trad_frame_reset_saved_regs): New function.
+ (trad_frame_alloc_saved_regs): Call trad_frame_reset_saved_regs.
+ * trad-frame.h (trad_frame_reset_saved_regs): New declaration.
+
+2019-04-10 Kevin Buettner <kevinb@redhat.com>
+
+ * amd64-linux-nat.c (amd64_linux_collect_native_gregset): New
+ function.
+ (fill_gregset): Call amd64_linux_collect_native_gregset instead
+ of amd64_collect_native_gregset.
+ (amd64_linux_nat_target::store_registers): Likewise.
+
+2019-04-10 Tom Tromey <tom@tromey.com>
+
+ * symtab.c (lookup_global_symbol_from_objfile)
+ (lookup_symbol_in_objfile_from_linkage_name): Use the iterator.
+ * objfiles.h (class separate_debug_iterator): New.
+ (class separate_debug_range): New.
+ (struct objfile) <separate_debug_objfiles>: New method.
+ (objfile_separate_debug_iterate): Don't declare.
+ * objfiles.c (separate_debug_iterator::operator++): Rename from
+ objfile_separate_debug_iterate.
+ (objfile_relocate, objfile_rebase, objfile_has_symbols): Use the
+ iterator.
+ * minsyms.c (lookup_minimal_symbol_by_pc_section): Use the
+ iterator.
+
+2019-04-10 Tom Tromey <tom@tromey.com>
+
+ * symfile.c (reread_symbols): Remove old comment.
+ * objfiles.c (free_all_objfiles): Fix a typo.
+
+2019-04-10 Tom Tromey <tom@tromey.com>
+
+ * ia64-tdep.c (ia64_get_dyn_info_list): Use foreach.
+ * minsyms.c (lookup_minimal_symbol): Use foreach.
+ (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
+ (lookup_minimal_symbol_solib_trampoline): Likewise.
+ * symfile.c (reread_symbols): Use foreach.
+
+2019-04-09 Ivan Begert <ivanbegert@gmail.com>
+ Tom Tromey <tromey@adacore.com>
+
+ PR rust/24414:
+ * rust-exp.y (rust_parser::lex_number): Use strtoulst.
+ (rust_lex_int_test): Change "value" to be LONGEST.
+ (rust_lex_tests): Add test for long integer literal.
+
+2019-04-09 Tom Tromey <tromey@adacore.com>
+
+ * remote.c (remote_target::remote_add_inferior): Change fake_pid_p
+ to bool.
+ (extended_remote_target::attach): Update.
+ (remote_target::remote_notice_new_inferior): Update.
+ (remote_target::add_current_inferior_and_thread): Update.
+ * inferior.c (exit_inferior_1): Use "false".
+ * corelow.c (add_to_thread_list): Make fake_pid_p bool.
+
+2019-04-09 Simon Marchi <simon.marchi@efficios.com>
+
+ * infcmd.c (run_command_1): Pass -qualified to tbreak when using
+ the "start" command.
+
+2019-04-08 Kevin Buettner <kevinb@redhat.com>
+
+ * python/py-inferior.c (infpy_thread_from_thread_handle):
+ Adjust comments to reflect renaming of thread_from_thread_handle
+ to thread_from_handle. Adjust keywords. Fix type error message.
+ (inferior_object_methods): Add thread_from_handle. Retain
+ thread_from_thread_handle, but mark it as deprecated.
+
+2019-04-08 Kevin Buettner <kevinb@redhat.com>
+
+ * gdbthread.h (find_thread_by_handle): Revise declaration.
+ * thread.c (find_thread_by_handle): Likewise. Adjust
+ implementation too.
+ * python/py-inferior.c (infpy_thread_from_thread_handle): Add
+ support for buffer objects as handles.
+
+2019-04-08 Kevin Buettner <kevinb@redhat.com>
+
+ * python/py-infthread.c (thpy_thread_handle): New function.
+ (thread_object_methods): Register thpy_thread_handle.
+
+2019-04-08 Kevin Buettner <kevinb@redhat.com>
+
+ * gdbthread.h (thread_to_thread_handle): Declare.
+ * thread.c (gdbtypes.h): Include.
+ (thread_to_thread_handle): New function.
+
+ * target.h (struct target_ops): Add thread_info_to_thread_handle.
+ (target_thread_info_to_thread_handle): Declare.
+ * target.c (target_thread_info_to_thread_handle): New function.
+ * target-debug.h (target_debug_print_gdb_byte_vector): Define.
+ * target-delegates.c: Regenerate.
+
+ * linux-thread-db.c (class thread_db_target): Add method
+ thread_info_to_thread_handle.
+ (thread_db_target::thread_info_to_thread_handle): Define.
+ * remote.c (class remote_target): Add new method
+ thread_info_to_thread_handle.
+ (remote_target::thread_info_to_thread_handle): Define.
+
+2019-04-08 Pedro Alves <palves@redhat.com>
+
+ * common/common-exceptions.c (throw_exception): Don't create
+ named object to throw; throw directly.
+ (throw_it): Likewise. Don't initialize gdb_exception::message
+ here, with new; pass FMT and AP to the ctor instead.
+ * common/common-exceptions.h: Include <string>.
+ (gdb_exception::gdb_exception(enum return_reason, enum errors,
+ const char *, va_list)): New ctor. Use std::make_shared.
+ (gdb_exception_error::gdb_exception_error(enum return_reason, enum
+ errors)): Delete.
+ (gdb_exception_error::gdb_exception_error(enum errors, const char
+ *, va_list)): New.
+ (gdb_exception_error::gdb_exception_error(const gdb_exception &)):
+ Add assertion.
+ (gdb_exception_quit::gdb_exception_quit(enum return_reason, enum
+ errors)): Delete.
+ (gdb_exception_quit::gdb_exception_quit(const char *, va_list)): New.
+ (gdb_exception_quit::gdb_exception_quit(const gdb_exception &)):
+ Add assertion.
+
+2019-04-08 Tom Tromey <tom@tromey.com>
+
+ * valops.c (value_rtti_indirect_type): Replace throw_exception
+ with throw.
+ * tracefile-tfile.c (tfile_target_open): Replace throw_exception
+ with throw.
+ * thread.c (thr_try_catch_cmd): Replace throw_exception with
+ throw.
+ * target.c (target_translate_tls_address): Replace throw_exception
+ with throw.
+ * stack.c (frame_apply_command_count): Replace throw_exception
+ with throw.
+ * solib-spu.c (append_ocl_sos): Replace throw_exception with
+ throw.
+ * s390-tdep.c (s390_frame_unwind_cache): Replace throw_exception
+ with throw.
+ * rs6000-tdep.c (rs6000_frame_cache)
+ (rs6000_epilogue_frame_cache): Replace throw_exception with throw.
+ * remote.c: Replace throw_exception with throw.
+ * record-full.c (record_full_message, record_full_wait_1)
+ (record_full_restore): Replace throw_exception with throw.
+ * record-btrace.c:
+ (get_thread_current_frame_id, record_btrace_start_replaying)
+ (cmd_record_btrace_bts_start, cmd_record_btrace_pt_start)
+ (cmd_record_btrace_start): Replace throw_exception with throw.
+ * parse.c (parse_exp_in_context_1): Replace throw_exception with
+ throw.
+ * linux-nat.c (detach_one_lwp, linux_resume_one_lwp)
+ (resume_stopped_resumed_lwps): Replace throw_exception with throw.
+ * linespec.c:
+ (find_linespec_symbols): Replace throw_exception with throw.
+ * infrun.c (displaced_step_prepare, resume): Replace
+ throw_exception with throw.
+ * infcmd.c (post_create_inferior): Replace throw_exception with
+ throw.
+ * inf-loop.c (inferior_event_handler): Replace throw_exception
+ with throw.
+ * i386-tdep.c (i386_frame_cache, i386_epilogue_frame_cache)
+ (i386_sigtramp_frame_cache): Replace throw_exception with throw.
+ * frame.c (frame_unwind_pc, get_prev_frame_if_no_cycle)
+ (get_prev_frame_always, get_frame_pc_if_available)
+ (get_frame_address_in_block_if_available, get_frame_language):
+ Replace throw_exception with throw.
+ * frame-unwind.c (frame_unwind_try_unwinder): Replace
+ throw_exception with throw.
+ * eval.c (fetch_subexp_value, evaluate_var_value)
+ (evaluate_funcall, evaluate_subexp_standard): Replace
+ throw_exception with throw.
+ * dwarf2loc.c (call_site_find_chain)
+ (dwarf2_evaluate_loc_desc_full, dwarf2_locexpr_baton_eval):
+ Replace throw_exception with throw.
+ * dwarf2-frame.c (dwarf2_frame_cache): Replace throw_exception
+ with throw.
+ * darwin-nat.c (darwin_attach_pid): Replace throw_exception with
+ throw.
+ * cp-abi.c (baseclass_offset): Replace throw_exception with throw.
+ * completer.c (complete_line_internal): Replace throw_exception
+ with throw.
+ * compile/compile-object-run.c (compile_object_run): Replace
+ throw_exception with throw.
+ * cli/cli-script.c (process_next_line): Replace throw_exception
+ with throw.
+ * btrace.c (btrace_compute_ftrace_pt, btrace_compute_ftrace)
+ (btrace_enable, btrace_maint_update_pt_packets): Replace
+ throw_exception with throw.
+ * breakpoint.c (create_breakpoint, save_breakpoints): Replace
+ throw_exception with throw.
+ * break-catch-throw.c (re_set_exception_catchpoint): Replace
+ throw_exception with throw.
+ * amd64-tdep.c (amd64_frame_cache, amd64_sigtramp_frame_cache)
+ (amd64_epilogue_frame_cache): Replace throw_exception with throw.
+ * aarch64-tdep.c (aarch64_make_prologue_cache)
+ (aarch64_make_stub_cache): Replace throw_exception with throw.
+
+2019-04-08 Tom Tromey <tom@tromey.com>
+
+ * common/common-exceptions.c (throw_exception): Rename from
+ throw_exception_cxx. Remove old copy. Make argument const.
+ (throw_it): Create and throw exception objects directly.
+ * common/common-exceptions.h (throw_exception): Make argument
+ const.
+ (struct gdb_exception_error): Add constructor.
+ (struct gdb_exception_quit): Add constructor.
+
+2019-04-08 Tom Tromey <tom@tromey.com>
+
+ * common/common-exceptions.h (exception_rethrow): Don't declare.
+ (TRY_SJLJ): Update comment.
+ (TRY, CATCH, END_CATCH): Remove.
+ * common/common-exceptions.c (exception_rethrow): Remove.
+
+2019-04-08 Tom Tromey <tom@tromey.com>
+
+ * common/common-exceptions.h (gdb_exception_RETURN_MASK_ALL):
+ Remove.
+ (gdb_exception_error): Rename from
+ gdb_exception_RETURN_MASK_ERROR.
+ (gdb_exception_quit): Rename from gdb_exception_RETURN_MASK_QUIT.
+ (gdb_quit_bad_alloc): Update.
+ * aarch64-tdep.c: Update.
+ * ada-lang.c: Update.
+ * ada-typeprint.c: Update.
+ * ada-valprint.c: Update.
+ * amd64-tdep.c: Update.
+ * arch-utils.c: Update.
+ * break-catch-throw.c: Update.
+ * breakpoint.c: Update.
+ * btrace.c: Update.
+ * c-varobj.c: Update.
+ * cli/cli-cmds.c: Update.
+ * cli/cli-interp.c: Update.
+ * cli/cli-script.c: Update.
+ * common/common-exceptions.c: Update.
+ * common/new-op.c: Update.
+ * common/selftest.c: Update.
+ * compile/compile-c-symbols.c: Update.
+ * compile/compile-cplus-symbols.c: Update.
+ * compile/compile-object-load.c: Update.
+ * compile/compile-object-run.c: Update.
+ * completer.c: Update.
+ * corelow.c: Update.
+ * cp-abi.c: Update.
+ * cp-support.c: Update.
+ * cp-valprint.c: Update.
+ * darwin-nat.c: Update.
+ * disasm-selftests.c: Update.
+ * dtrace-probe.c: Update.
+ * dwarf-index-cache.c: Update.
+ * dwarf-index-write.c: Update.
+ * dwarf2-frame-tailcall.c: Update.
+ * dwarf2-frame.c: Update.
+ * dwarf2loc.c: Update.
+ * dwarf2read.c: Update.
+ * eval.c: Update.
+ * event-loop.c: Update.
+ * event-top.c: Update.
+ * exec.c: Update.
+ * f-valprint.c: Update.
+ * fbsd-tdep.c: Update.
+ * frame-unwind.c: Update.
+ * frame.c: Update.
+ * gdbtypes.c: Update.
+ * gnu-v3-abi.c: Update.
+ * guile/guile-internal.h: Update.
+ * guile/scm-block.c: Update.
+ * guile/scm-breakpoint.c: Update.
+ * guile/scm-cmd.c: Update.
+ * guile/scm-disasm.c: Update.
+ * guile/scm-frame.c: Update.
+ * guile/scm-lazy-string.c: Update.
+ * guile/scm-math.c: Update.
+ * guile/scm-param.c: Update.
+ * guile/scm-ports.c: Update.
+ * guile/scm-pretty-print.c: Update.
+ * guile/scm-symbol.c: Update.
+ * guile/scm-symtab.c: Update.
+ * guile/scm-type.c: Update.
+ * guile/scm-value.c: Update.
+ * i386-linux-tdep.c: Update.
+ * i386-tdep.c: Update.
+ * inf-loop.c: Update.
+ * infcall.c: Update.
+ * infcmd.c: Update.
+ * infrun.c: Update.
+ * jit.c: Update.
+ * language.c: Update.
+ * linespec.c: Update.
+ * linux-fork.c: Update.
+ * linux-nat.c: Update.
+ * linux-tdep.c: Update.
+ * linux-thread-db.c: Update.
+ * main.c: Update.
+ * mi/mi-cmd-break.c: Update.
+ * mi/mi-cmd-stack.c: Update.
+ * mi/mi-interp.c: Update.
+ * mi/mi-main.c: Update.
+ * objc-lang.c: Update.
+ * p-valprint.c: Update.
+ * parse.c: Update.
+ * ppc-linux-tdep.c: Update.
+ * printcmd.c: Update.
+ * python/py-arch.c: Update.
+ * python/py-breakpoint.c: Update.
+ * python/py-cmd.c: Update.
+ * python/py-finishbreakpoint.c: Update.
+ * python/py-frame.c: Update.
+ * python/py-framefilter.c: Update.
+ * python/py-gdb-readline.c: Update.
+ * python/py-inferior.c: Update.
+ * python/py-infthread.c: Update.
+ * python/py-lazy-string.c: Update.
+ * python/py-linetable.c: Update.
+ * python/py-objfile.c: Update.
+ * python/py-param.c: Update.
+ * python/py-prettyprint.c: Update.
+ * python/py-progspace.c: Update.
+ * python/py-record-btrace.c: Update.
+ * python/py-record.c: Update.
+ * python/py-symbol.c: Update.
+ * python/py-type.c: Update.
+ * python/py-unwind.c: Update.
+ * python/py-utils.c: Update.
+ * python/py-value.c: Update.
+ * python/python.c: Update.
+ * record-btrace.c: Update.
+ * record-full.c: Update.
+ * remote-fileio.c: Update.
+ * remote.c: Update.
+ * riscv-tdep.c: Update.
+ * rs6000-aix-tdep.c: Update.
+ * rs6000-tdep.c: Update.
+ * rust-exp.y: Update.
+ * rust-lang.c: Update.
+ * s390-tdep.c: Update.
+ * selftest-arch.c: Update.
+ * solib-dsbt.c: Update.
+ * solib-frv.c: Update.
+ * solib-spu.c: Update.
+ * solib-svr4.c: Update.
+ * solib.c: Update.
+ * sparc64-linux-tdep.c: Update.
+ * stack.c: Update.
+ * symfile-mem.c: Update.
+ * symmisc.c: Update.
+ * target.c: Update.
+ * thread.c: Update.
+ * top.c: Update.
+ * tracefile-tfile.c: Update.
+ * tui/tui.c: Update.
+ * typeprint.c: Update.
+ * unittests/cli-utils-selftests.c: Update.
+ * unittests/parse-connection-spec-selftests.c: Update.
+ * valops.c: Update.
+ * valprint.c: Update.
+ * value.c: Update.
+ * varobj.c: Update.
+ * windows-nat.c: Update.
+ * x86-linux-nat.c: Update.
+ * xml-support.c: Update.
+
+2019-04-08 Tom Tromey <tom@tromey.com>
+
+ * xml-support.c: Use C++ exception handling.
+ * x86-linux-nat.c: Use C++ exception handling.
+ * windows-nat.c: Use C++ exception handling.
+ * varobj.c: Use C++ exception handling.
+ * value.c: Use C++ exception handling.
+ * valprint.c: Use C++ exception handling.
+ * valops.c: Use C++ exception handling.
+ * unittests/parse-connection-spec-selftests.c: Use C++ exception
+ handling.
+ * unittests/cli-utils-selftests.c: Use C++ exception handling.
+ * typeprint.c: Use C++ exception handling.
+ * tui/tui.c: Use C++ exception handling.
+ * tracefile-tfile.c: Use C++ exception handling.
+ * top.c: Use C++ exception handling.
+ * thread.c: Use C++ exception handling.
+ * target.c: Use C++ exception handling.
+ * symmisc.c: Use C++ exception handling.
+ * symfile-mem.c: Use C++ exception handling.
+ * stack.c: Use C++ exception handling.
+ * sparc64-linux-tdep.c: Use C++ exception handling.
+ * solib.c: Use C++ exception handling.
+ * solib-svr4.c: Use C++ exception handling.
+ * solib-spu.c: Use C++ exception handling.
+ * solib-frv.c: Use C++ exception handling.
+ * solib-dsbt.c: Use C++ exception handling.
+ * selftest-arch.c: Use C++ exception handling.
+ * s390-tdep.c: Use C++ exception handling.
+ * rust-lang.c: Use C++ exception handling.
+ * rust-exp.y: Use C++ exception handling.
+ * rs6000-tdep.c: Use C++ exception handling.
+ * rs6000-aix-tdep.c: Use C++ exception handling.
+ * riscv-tdep.c: Use C++ exception handling.
+ * remote.c: Use C++ exception handling.
+ * remote-fileio.c: Use C++ exception handling.
+ * record-full.c: Use C++ exception handling.
+ * record-btrace.c: Use C++ exception handling.
+ * python/python.c: Use C++ exception handling.
+ * python/py-value.c: Use C++ exception handling.
+ * python/py-utils.c: Use C++ exception handling.
+ * python/py-unwind.c: Use C++ exception handling.
+ * python/py-type.c: Use C++ exception handling.
+ * python/py-symbol.c: Use C++ exception handling.
+ * python/py-record.c: Use C++ exception handling.
+ * python/py-record-btrace.c: Use C++ exception handling.
+ * python/py-progspace.c: Use C++ exception handling.
+ * python/py-prettyprint.c: Use C++ exception handling.
+ * python/py-param.c: Use C++ exception handling.
+ * python/py-objfile.c: Use C++ exception handling.
+ * python/py-linetable.c: Use C++ exception handling.
+ * python/py-lazy-string.c: Use C++ exception handling.
+ * python/py-infthread.c: Use C++ exception handling.
+ * python/py-inferior.c: Use C++ exception handling.
+ * python/py-gdb-readline.c: Use C++ exception handling.
+ * python/py-framefilter.c: Use C++ exception handling.
+ * python/py-frame.c: Use C++ exception handling.
+ * python/py-finishbreakpoint.c: Use C++ exception handling.
+ * python/py-cmd.c: Use C++ exception handling.
+ * python/py-breakpoint.c: Use C++ exception handling.
+ * python/py-arch.c: Use C++ exception handling.
+ * printcmd.c: Use C++ exception handling.
+ * ppc-linux-tdep.c: Use C++ exception handling.
+ * parse.c: Use C++ exception handling.
+ * p-valprint.c: Use C++ exception handling.
+ * objc-lang.c: Use C++ exception handling.
+ * mi/mi-main.c: Use C++ exception handling.
+ * mi/mi-interp.c: Use C++ exception handling.
+ * mi/mi-cmd-stack.c: Use C++ exception handling.
+ * mi/mi-cmd-break.c: Use C++ exception handling.
+ * main.c: Use C++ exception handling.
+ * linux-thread-db.c: Use C++ exception handling.
+ * linux-tdep.c: Use C++ exception handling.
+ * linux-nat.c: Use C++ exception handling.
+ * linux-fork.c: Use C++ exception handling.
+ * linespec.c: Use C++ exception handling.
+ * language.c: Use C++ exception handling.
+ * jit.c: Use C++ exception handling.
+ * infrun.c: Use C++ exception handling.
+ * infcmd.c: Use C++ exception handling.
+ * infcall.c: Use C++ exception handling.
+ * inf-loop.c: Use C++ exception handling.
+ * i386-tdep.c: Use C++ exception handling.
+ * i386-linux-tdep.c: Use C++ exception handling.
+ * guile/scm-value.c: Use C++ exception handling.
+ * guile/scm-type.c: Use C++ exception handling.
+ * guile/scm-symtab.c: Use C++ exception handling.
+ * guile/scm-symbol.c: Use C++ exception handling.
+ * guile/scm-pretty-print.c: Use C++ exception handling.
+ * guile/scm-ports.c: Use C++ exception handling.
+ * guile/scm-param.c: Use C++ exception handling.
+ * guile/scm-math.c: Use C++ exception handling.
+ * guile/scm-lazy-string.c: Use C++ exception handling.
+ * guile/scm-frame.c: Use C++ exception handling.
+ * guile/scm-disasm.c: Use C++ exception handling.
+ * guile/scm-cmd.c: Use C++ exception handling.
+ * guile/scm-breakpoint.c: Use C++ exception handling.
+ * guile/scm-block.c: Use C++ exception handling.
+ * guile/guile-internal.h: Use C++ exception handling.
+ * gnu-v3-abi.c: Use C++ exception handling.
+ * gdbtypes.c: Use C++ exception handling.
+ * frame.c: Use C++ exception handling.
+ * frame-unwind.c: Use C++ exception handling.
+ * fbsd-tdep.c: Use C++ exception handling.
+ * f-valprint.c: Use C++ exception handling.
+ * exec.c: Use C++ exception handling.
+ * event-top.c: Use C++ exception handling.
+ * event-loop.c: Use C++ exception handling.
+ * eval.c: Use C++ exception handling.
+ * dwarf2read.c: Use C++ exception handling.
+ * dwarf2loc.c: Use C++ exception handling.
+ * dwarf2-frame.c: Use C++ exception handling.
+ * dwarf2-frame-tailcall.c: Use C++ exception handling.
+ * dwarf-index-write.c: Use C++ exception handling.
+ * dwarf-index-cache.c: Use C++ exception handling.
+ * dtrace-probe.c: Use C++ exception handling.
+ * disasm-selftests.c: Use C++ exception handling.
+ * darwin-nat.c: Use C++ exception handling.
+ * cp-valprint.c: Use C++ exception handling.
+ * cp-support.c: Use C++ exception handling.
+ * cp-abi.c: Use C++ exception handling.
+ * corelow.c: Use C++ exception handling.
+ * completer.c: Use C++ exception handling.
+ * compile/compile-object-run.c: Use C++ exception handling.
+ * compile/compile-object-load.c: Use C++ exception handling.
+ * compile/compile-cplus-symbols.c: Use C++ exception handling.
+ * compile/compile-c-symbols.c: Use C++ exception handling.
+ * common/selftest.c: Use C++ exception handling.
+ * common/new-op.c: Use C++ exception handling.
+ * cli/cli-script.c: Use C++ exception handling.
+ * cli/cli-interp.c: Use C++ exception handling.
+ * cli/cli-cmds.c: Use C++ exception handling.
+ * c-varobj.c: Use C++ exception handling.
+ * btrace.c: Use C++ exception handling.
+ * breakpoint.c: Use C++ exception handling.
+ * break-catch-throw.c: Use C++ exception handling.
+ * arch-utils.c: Use C++ exception handling.
+ * amd64-tdep.c: Use C++ exception handling.
+ * ada-valprint.c: Use C++ exception handling.
+ * ada-typeprint.c: Use C++ exception handling.
+ * ada-lang.c: Use C++ exception handling.
+ * aarch64-tdep.c: Use C++ exception handling.
+
+2019-04-08 Tom Tromey <tom@tromey.com>
+
+ * xml-support.c (gdb_xml_parser::parse): Update.
+ * x86-linux-nat.c (x86_linux_nat_target::enable_btrace): Update.
+ * value.c (show_convenience): Update.
+ * unittests/cli-utils-selftests.c (test_number_or_range_parser)
+ (test_parse_flags_qcs): Update.
+ * thread.c (thr_try_catch_cmd): Update.
+ * target.c (target_translate_tls_address): Update.
+ * stack.c (print_frame_arg, read_frame_local, read_frame_arg)
+ (info_frame_command_core, frame_apply_command_count): Update.
+ * rust-exp.y (rust_lex_exception_test): Update.
+ * riscv-tdep.c (riscv_print_one_register_info): Update.
+ * remote.c (remote_target::enable_btrace): Update.
+ * record-btrace.c (record_btrace_enable_warn): Update.
+ * python/py-utils.c (gdbpy_convert_exception): Update.
+ * printcmd.c (do_one_display, print_variable_and_value): Update.
+ * mi/mi-main.c (mi_print_exception): Update.
+ * mi/mi-interp.c (mi_cmd_interpreter_exec): Use SCOPE_EXIT.
+ * mi/mi-cmd-stack.c (list_arg_or_local): Update.
+ * linux-nat.c (linux_nat_target::attach): Update.
+ * linux-fork.c (class scoped_switch_fork_info): Update.
+ * infrun.c (displaced_step_prepare): Update.
+ * infcall.c (call_function_by_hand_dummy): Update.
+ * guile/scm-exception.c (gdbscm_scm_from_gdb_exception): Update.
+ * gnu-v3-abi.c (print_one_vtable): Update.
+ * frame.c (get_prev_frame_always): Update.
+ * f-valprint.c (info_common_command_for_block): Update.
+ * exec.c (try_open_exec_file): Update.
+ * exceptions.c (print_exception, exception_print)
+ (exception_fprintf, exception_print_same): Update.
+ * dwarf2-frame.c (dwarf2_build_frame_info): Update.
+ * dwarf-index-cache.c (index_cache::store)
+ (index_cache::lookup_gdb_index): Update.
+ * darwin-nat.c (maybe_cache_shell): Update.
+ * cp-valprint.c (cp_print_value_fields): Update.
+ * compile/compile-cplus-symbols.c (gcc_cplus_convert_symbol)
+ (gcc_cplus_symbol_address): Update.
+ * compile/compile-c-symbols.c (gcc_convert_symbol)
+ (gcc_symbol_address, generate_c_for_for_one_variable): Update.
+ * common/selftest.c: Update.
+ * common/common-exceptions.h (struct gdb_exception) <message>: Now
+ a std::string.
+ (exception_try_scope_entry, exception_try_scope_exit): Don't
+ declare.
+ (struct exception_try_scope): Remove.
+ (TRY): Don't use exception_try_scope.
+ (struct gdb_exception): Add constructor, operator=.
+ <what>: New method.
+ (struct gdb_exception_RETURN_MASK_ALL)
+ (struct gdb_exception_RETURN_MASK_ERROR)
+ (struct gdb_exception_RETURN_MASK_QUIT): Add constructor.
+ (struct gdb_quit_bad_alloc): Update.
+ * common/common-exceptions.c (exception_none): Change
+ initializer.
+ (struct catcher) <state, exception>: Initialize inline.
+ <prev>: Remove member.
+ (current_catcher): Remove.
+ (catchers): New global.
+ (exceptions_state_mc_init): Simplify.
+ (catcher_pop): Remove.
+ (exceptions_state_mc, exceptions_state_mc_catch): Update.
+ (try_scope_depth, exception_try_scope_entry)
+ (exception_try_scope_exit): Remove.
+ (throw_exception_sjlj): Update.
+ (exception_messages, exception_messages_size): Remove.
+ (throw_it): Simplify.
+ (gdb_exception_sliced_copy): Remove.
+ (throw_exception_cxx): Update.
+ * cli/cli-script.c (script_from_file): Update.
+ * breakpoint.c (insert_bp_location, update_breakpoint_locations):
+ Update.
+ * ada-valprint.c (ada_val_print): Update.
+ * ada-lang.c (ada_to_fixed_type_1, ada_exception_name_addr)
+ (create_excep_cond_exprs): Update.
+
+2019-04-08 Tom Tromey <tom@tromey.com>
+
+ * common/common-exceptions.h (GDB_XCPT_SJMP, GDB_XCPT_TRY)
+ (GDB_XCPT_RAW_TRY, GDB_XCPT): Remove.
+ (TRY, CATCH, END_CATCH): Remove some definitions.
+ * common/common-exceptions.c: Don't use GDB_XCPT.
+ (catcher_list_size): Remove.
+ (throw_exception, throw_it): Simplify.
+
+2019-04-05 Tom Tromey <tom@tromey.com>
+
+ Revert the header-sorting patch.
+ * ft32-tdep.c: Revert.
+ * frv-tdep.c: Revert.
+ * frv-linux-tdep.c: Revert.
+ * frame.c: Revert.
+ * frame-unwind.c: Revert.
+ * frame-base.c: Revert.
+ * fork-child.c: Revert.
+ * findvar.c: Revert.
+ * findcmd.c: Revert.
+ * filesystem.c: Revert.
+ * filename-seen-cache.h: Revert.
+ * filename-seen-cache.c: Revert.
+ * fbsd-tdep.c: Revert.
+ * fbsd-nat.h: Revert.
+ * fbsd-nat.c: Revert.
+ * f-valprint.c: Revert.
+ * f-typeprint.c: Revert.
+ * f-lang.c: Revert.
+ * extension.h: Revert.
+ * extension.c: Revert.
+ * extension-priv.h: Revert.
+ * expprint.c: Revert.
+ * exec.h: Revert.
+ * exec.c: Revert.
+ * exceptions.c: Revert.
+ * event-top.c: Revert.
+ * event-loop.c: Revert.
+ * eval.c: Revert.
+ * elfread.c: Revert.
+ * dwarf2read.h: Revert.
+ * dwarf2read.c: Revert.
+ * dwarf2loc.c: Revert.
+ * dwarf2expr.h: Revert.
+ * dwarf2expr.c: Revert.
+ * dwarf2-frame.c: Revert.
+ * dwarf2-frame-tailcall.c: Revert.
+ * dwarf-index-write.h: Revert.
+ * dwarf-index-write.c: Revert.
+ * dwarf-index-common.c: Revert.
+ * dwarf-index-cache.h: Revert.
+ * dwarf-index-cache.c: Revert.
+ * dummy-frame.c: Revert.
+ * dtrace-probe.c: Revert.
+ * disasm.h: Revert.
+ * disasm.c: Revert.
+ * disasm-selftests.c: Revert.
+ * dictionary.c: Revert.
+ * dicos-tdep.c: Revert.
+ * demangle.c: Revert.
+ * dcache.h: Revert.
+ * dcache.c: Revert.
+ * darwin-nat.h: Revert.
+ * darwin-nat.c: Revert.
+ * darwin-nat-info.c: Revert.
+ * d-valprint.c: Revert.
+ * d-namespace.c: Revert.
+ * d-lang.c: Revert.
+ * ctf.c: Revert.
+ * csky-tdep.c: Revert.
+ * csky-linux-tdep.c: Revert.
+ * cris-tdep.c: Revert.
+ * cris-linux-tdep.c: Revert.
+ * cp-valprint.c: Revert.
+ * cp-support.c: Revert.
+ * cp-namespace.c: Revert.
+ * cp-abi.c: Revert.
+ * corelow.c: Revert.
+ * corefile.c: Revert.
+ * continuations.c: Revert.
+ * completer.h: Revert.
+ * completer.c: Revert.
+ * complaints.c: Revert.
+ * coffread.c: Revert.
+ * coff-pe-read.c: Revert.
+ * cli-out.h: Revert.
+ * cli-out.c: Revert.
+ * charset.c: Revert.
+ * c-varobj.c: Revert.
+ * c-valprint.c: Revert.
+ * c-typeprint.c: Revert.
+ * c-lang.c: Revert.
+ * buildsym.c: Revert.
+ * buildsym-legacy.c: Revert.
+ * build-id.h: Revert.
+ * build-id.c: Revert.
+ * btrace.c: Revert.
+ * bsd-uthread.c: Revert.
+ * breakpoint.h: Revert.
+ * breakpoint.c: Revert.
+ * break-catch-throw.c: Revert.
+ * break-catch-syscall.c: Revert.
+ * break-catch-sig.c: Revert.
+ * blockframe.c: Revert.
+ * block.c: Revert.
+ * bfin-tdep.c: Revert.
+ * bfin-linux-tdep.c: Revert.
+ * bfd-target.c: Revert.
+ * bcache.c: Revert.
+ * ax-general.c: Revert.
+ * ax-gdb.h: Revert.
+ * ax-gdb.c: Revert.
+ * avr-tdep.c: Revert.
+ * auxv.c: Revert.
+ * auto-load.c: Revert.
+ * arm-wince-tdep.c: Revert.
+ * arm-tdep.c: Revert.
+ * arm-symbian-tdep.c: Revert.
+ * arm-pikeos-tdep.c: Revert.
+ * arm-obsd-tdep.c: Revert.
+ * arm-nbsd-tdep.c: Revert.
+ * arm-nbsd-nat.c: Revert.
+ * arm-linux-tdep.c: Revert.
+ * arm-linux-nat.c: Revert.
+ * arm-fbsd-tdep.c: Revert.
+ * arm-fbsd-nat.c: Revert.
+ * arm-bsd-tdep.c: Revert.
+ * arch-utils.c: Revert.
+ * arc-tdep.c: Revert.
+ * arc-newlib-tdep.c: Revert.
+ * annotate.h: Revert.
+ * annotate.c: Revert.
+ * amd64-windows-tdep.c: Revert.
+ * amd64-windows-nat.c: Revert.
+ * amd64-tdep.c: Revert.
+ * amd64-sol2-tdep.c: Revert.
+ * amd64-obsd-tdep.c: Revert.
+ * amd64-obsd-nat.c: Revert.
+ * amd64-nbsd-tdep.c: Revert.
+ * amd64-nbsd-nat.c: Revert.
+ * amd64-nat.c: Revert.
+ * amd64-linux-tdep.c: Revert.
+ * amd64-linux-nat.c: Revert.
+ * amd64-fbsd-tdep.c: Revert.
+ * amd64-fbsd-nat.c: Revert.
+ * amd64-dicos-tdep.c: Revert.
+ * amd64-darwin-tdep.c: Revert.
+ * amd64-bsd-nat.c: Revert.
+ * alpha-tdep.c: Revert.
+ * alpha-obsd-tdep.c: Revert.
+ * alpha-nbsd-tdep.c: Revert.
+ * alpha-mdebug-tdep.c: Revert.
+ * alpha-linux-tdep.c: Revert.
+ * alpha-linux-nat.c: Revert.
+ * alpha-bsd-tdep.c: Revert.
+ * alpha-bsd-nat.c: Revert.
+ * aix-thread.c: Revert.
+ * agent.c: Revert.
+ * addrmap.c: Revert.
+ * ada-varobj.c: Revert.
+ * ada-valprint.c: Revert.
+ * ada-typeprint.c: Revert.
+ * ada-tasks.c: Revert.
+ * ada-lang.c: Revert.
+ * aarch64-tdep.c: Revert.
+ * aarch64-ravenscar-thread.c: Revert.
+ * aarch64-newlib-tdep.c: Revert.
+ * aarch64-linux-tdep.c: Revert.
+ * aarch64-linux-nat.c: Revert.
+ * aarch64-fbsd-tdep.c: Revert.
+ * aarch64-fbsd-nat.c: Revert.
+ * aarch32-linux-nat.c: Revert.
+
+2019-04-05 Tom Tromey <tom@tromey.com>
+
+ * ft32-tdep.c: Sort headers.
+ * frv-tdep.c: Sort headers.
+ * frv-linux-tdep.c: Sort headers.
+ * frame.c: Sort headers.
+ * frame-unwind.c: Sort headers.
+ * frame-base.c: Sort headers.
+ * fork-child.c: Sort headers.
+ * findvar.c: Sort headers.
+ * findcmd.c: Sort headers.
+ * filesystem.c: Sort headers.
+ * filename-seen-cache.h: Sort headers.
+ * filename-seen-cache.c: Sort headers.
+ * fbsd-tdep.c: Sort headers.
+ * fbsd-nat.h: Sort headers.
+ * fbsd-nat.c: Sort headers.
+ * f-valprint.c: Sort headers.
+ * f-typeprint.c: Sort headers.
+ * f-lang.c: Sort headers.
+ * extension.h: Sort headers.
+ * extension.c: Sort headers.
+ * extension-priv.h: Sort headers.
+ * expprint.c: Sort headers.
+ * exec.h: Sort headers.
+ * exec.c: Sort headers.
+ * exceptions.c: Sort headers.
+ * event-top.c: Sort headers.
+ * event-loop.c: Sort headers.
+ * eval.c: Sort headers.
+ * elfread.c: Sort headers.
+ * dwarf2read.h: Sort headers.
+ * dwarf2read.c: Sort headers.
+ * dwarf2loc.c: Sort headers.
+ * dwarf2expr.h: Sort headers.
+ * dwarf2expr.c: Sort headers.
+ * dwarf2-frame.c: Sort headers.
+ * dwarf2-frame-tailcall.c: Sort headers.
+ * dwarf-index-write.h: Sort headers.
+ * dwarf-index-write.c: Sort headers.
+ * dwarf-index-common.c: Sort headers.
+ * dwarf-index-cache.h: Sort headers.
+ * dwarf-index-cache.c: Sort headers.
+ * dummy-frame.c: Sort headers.
+ * dtrace-probe.c: Sort headers.
+ * disasm.h: Sort headers.
+ * disasm.c: Sort headers.
+ * disasm-selftests.c: Sort headers.
+ * dictionary.c: Sort headers.
+ * dicos-tdep.c: Sort headers.
+ * demangle.c: Sort headers.
+ * dcache.h: Sort headers.
+ * dcache.c: Sort headers.
+ * darwin-nat.h: Sort headers.
+ * darwin-nat.c: Sort headers.
+ * darwin-nat-info.c: Sort headers.
+ * d-valprint.c: Sort headers.
+ * d-namespace.c: Sort headers.
+ * d-lang.c: Sort headers.
+ * ctf.c: Sort headers.
+ * csky-tdep.c: Sort headers.
+ * csky-linux-tdep.c: Sort headers.
+ * cris-tdep.c: Sort headers.
+ * cris-linux-tdep.c: Sort headers.
+ * cp-valprint.c: Sort headers.
+ * cp-support.c: Sort headers.
+ * cp-namespace.c: Sort headers.
+ * cp-abi.c: Sort headers.
+ * corelow.c: Sort headers.
+ * corefile.c: Sort headers.
+ * continuations.c: Sort headers.
+ * completer.h: Sort headers.
+ * completer.c: Sort headers.
+ * complaints.c: Sort headers.
+ * coffread.c: Sort headers.
+ * coff-pe-read.c: Sort headers.
+ * cli-out.h: Sort headers.
+ * cli-out.c: Sort headers.
+ * charset.c: Sort headers.
+ * c-varobj.c: Sort headers.
+ * c-valprint.c: Sort headers.
+ * c-typeprint.c: Sort headers.
+ * c-lang.c: Sort headers.
+ * buildsym.c: Sort headers.
+ * buildsym-legacy.c: Sort headers.
+ * build-id.h: Sort headers.
+ * build-id.c: Sort headers.
+ * btrace.c: Sort headers.
+ * bsd-uthread.c: Sort headers.
+ * breakpoint.h: Sort headers.
+ * breakpoint.c: Sort headers.
+ * break-catch-throw.c: Sort headers.
+ * break-catch-syscall.c: Sort headers.
+ * break-catch-sig.c: Sort headers.
+ * blockframe.c: Sort headers.
+ * block.c: Sort headers.
+ * bfin-tdep.c: Sort headers.
+ * bfin-linux-tdep.c: Sort headers.
+ * bfd-target.c: Sort headers.
+ * bcache.c: Sort headers.
+ * ax-general.c: Sort headers.
+ * ax-gdb.h: Sort headers.
+ * ax-gdb.c: Sort headers.
+ * avr-tdep.c: Sort headers.
+ * auxv.c: Sort headers.
+ * auto-load.c: Sort headers.
+ * arm-wince-tdep.c: Sort headers.
+ * arm-tdep.c: Sort headers.
+ * arm-symbian-tdep.c: Sort headers.
+ * arm-pikeos-tdep.c: Sort headers.
+ * arm-obsd-tdep.c: Sort headers.
+ * arm-nbsd-tdep.c: Sort headers.
+ * arm-nbsd-nat.c: Sort headers.
+ * arm-linux-tdep.c: Sort headers.
+ * arm-linux-nat.c: Sort headers.
+ * arm-fbsd-tdep.c: Sort headers.
+ * arm-fbsd-nat.c: Sort headers.
+ * arm-bsd-tdep.c: Sort headers.
+ * arch-utils.c: Sort headers.
+ * arc-tdep.c: Sort headers.
+ * arc-newlib-tdep.c: Sort headers.
+ * annotate.h: Sort headers.
+ * annotate.c: Sort headers.
+ * amd64-windows-tdep.c: Sort headers.
+ * amd64-windows-nat.c: Sort headers.
+ * amd64-tdep.c: Sort headers.
+ * amd64-sol2-tdep.c: Sort headers.
+ * amd64-obsd-tdep.c: Sort headers.
+ * amd64-obsd-nat.c: Sort headers.
+ * amd64-nbsd-tdep.c: Sort headers.
+ * amd64-nbsd-nat.c: Sort headers.
+ * amd64-nat.c: Sort headers.
+ * amd64-linux-tdep.c: Sort headers.
+ * amd64-linux-nat.c: Sort headers.
+ * amd64-fbsd-tdep.c: Sort headers.
+ * amd64-fbsd-nat.c: Sort headers.
+ * amd64-dicos-tdep.c: Sort headers.
+ * amd64-darwin-tdep.c: Sort headers.
+ * amd64-bsd-nat.c: Sort headers.
+ * alpha-tdep.c: Sort headers.
+ * alpha-obsd-tdep.c: Sort headers.
+ * alpha-nbsd-tdep.c: Sort headers.
+ * alpha-mdebug-tdep.c: Sort headers.
+ * alpha-linux-tdep.c: Sort headers.
+ * alpha-linux-nat.c: Sort headers.
+ * alpha-bsd-tdep.c: Sort headers.
+ * alpha-bsd-nat.c: Sort headers.
+ * aix-thread.c: Sort headers.
+ * agent.c: Sort headers.
+ * addrmap.c: Sort headers.
+ * ada-varobj.c: Sort headers.
+ * ada-valprint.c: Sort headers.
+ * ada-typeprint.c: Sort headers.
+ * ada-tasks.c: Sort headers.
+ * ada-lang.c: Sort headers.
+ * aarch64-tdep.c: Sort headers.
+ * aarch64-ravenscar-thread.c: Sort headers.
+ * aarch64-newlib-tdep.c: Sort headers.
+ * aarch64-linux-tdep.c: Sort headers.
+ * aarch64-linux-nat.c: Sort headers.
+ * aarch64-fbsd-tdep.c: Sort headers.
+ * aarch64-fbsd-nat.c: Sort headers.
+ * aarch32-linux-nat.c: Sort headers.
+
+2019-04-04 Tom Tromey <tom@tromey.com>
+
+ * varobj.c (varobj_create): Update.
+ * rust-exp.y (struct rust_parser) <update_innermost_block,
+ lookup_symbol>: New methods.
+ (rust_parser::update_innermost_block, rust_parser::lookup_symbol):
+ Rename.
+ (rust_parser::rust_lookup_type)
+ (rust_parser::convert_ast_to_expression, rust_lex_tests): Update.
+ * printcmd.c (display_command, do_one_display): Update.
+ * parser-defs.h (struct parser_state) <parser_state>: Add
+ "tracker" parameter.
+ (block_tracker): New member.
+ (class innermost_block_tracker) <innermost_block_tracker>: Add
+ "types" parameter.
+ <reset>: Remove method.
+ (innermost_block): Don't declare.
+ (null_post_parser): Update.
+ * parse.c (innermost_block): Remove global.
+ (write_dollar_variable): Update.
+ (parse_exp_1, parse_exp_in_context): Add "tracker" parameter.
+ Remove "tracker_types" parameter.
+ (parse_expression): Add "tracker" parameter.
+ (parse_expression_for_completion): Update.
+ (null_post_parser): Add "tracker" parameter.
+ * p-exp.y: Update rules.
+ * m2-exp.y: Update rules.
+ * language.h (struct language_defn) <la_post_parser>: Add
+ "tracker" parameter.
+ * go-exp.y: Update rules.
+ * f-exp.y: Update rules.
+ * expression.h (parse_expression, parse_exp_1): Add "tracker"
+ parameter.
+ * d-exp.y: Update rules.
+ * c-exp.y: Update rules.
+ * breakpoint.c (set_breakpoint_condition): Create an
+ innermost_block_tracker.
+ (watch_command_1): Likewise.
+ * ada-lang.c (resolve): Add "tracker" parameter.
+ (resolve_subexp): Likewise.
+ * ada-exp.y (write_var_from_sym): Update.
+
+2019-04-04 Tom Tromey <tom@tromey.com>
+
+ * type-stack.h: New file.
+ * type-stack.c: New file.
+ * parser-defs.h (enum type_pieces, union type_stack_elt): Move to
+ type-stack.h.
+ (insert_into_type_stack, insert_type, push_type, push_type_int)
+ (insert_type_address_space, pop_type, pop_type_int)
+ (pop_typelist, pop_type_stack, append_type_stack)
+ (push_type_stack, get_type_stack, push_typelist)
+ (follow_type_instance_flags, follow_types): Don't declare.
+ * parse.c (type_stack): Remove global.
+ (parse_exp_in_context): Update.
+ (insert_into_type_stack, insert_type, push_type, push_type_int)
+ (insert_type_address_space, pop_type, pop_type_int)
+ (pop_typelist, pop_type_stack, append_type_stack)
+ (push_type_stack, get_type_stack, push_typelist)
+ (follow_type_instance_flags, follow_types): Remove (moved to
+ type-stack.c).
+ * f-exp.y (type_stack): New global.
+ Update rules.
+ (push_kind_type, f_parse): Update.
+ * d-exp.y (type_stack): New global.
+ Update rules.
+ (d_parse): Update.
+ * c-exp.y (struct c_parse_state) <type_stack>: New member.
+ Update rules.
+ * Makefile.in (COMMON_SFILES): Add type-stack.c.
+ (HFILES_NO_SRCDIR): Add type-stack.h.
+
+2019-04-04 Tom Tromey <tom@tromey.com>
+
+ * rust-exp.y (rust_parser::lex_identifier, rustyylex)
+ (rust_parser::convert_ast_to_expression, rust_parse)
+ (rust_lex_test_completion, rust_lex_tests): Update.
+ * parser-defs.h (struct expr_completion_state): New.
+ (struct parser_state) <parser_state>: Add completion parameter.
+ <mark_struct_expression, mark_completion_tag>: New methods.
+ <parse_completion, m_completion_state>: New members.
+ (prefixify_expression, null_post_parser): Update.
+ (mark_struct_expression, mark_completion_tag): Don't declare.
+ * parse.c (parse_completion, expout_last_struct)
+ (expout_tag_completion_type, expout_completion_name): Remove
+ globals.
+ (parser_state::mark_struct_expression)
+ (parser_state::mark_completion_tag): Now methods.
+ (prefixify_expression): Add last_struct parameter.
+ (prefixify_subexp): Likewise.
+ (parse_exp_1): Update.
+ (parse_exp_in_context): Add cstate parameter. Update.
+ (parse_expression_for_completion): Create an
+ expr_completion_state.
+ (null_post_parser): Add "completion" parameter.
+ * p-exp.y: Update rules.
+ (yylex): Update.
+ * language.h (struct language_defn) <la_post_parser>: Add
+ "completing" parameter.
+ * go-exp.y: Update rules.
+ (lex_one_token): Update.
+ * expression.h (parse_completion): Don't declare.
+ * d-exp.y: Update rules.
+ (lex_one_token): Update rules.
+ * c-exp.y: Update rules.
+ (lex_one_token): Update.
+ * ada-lang.c (resolve): Add "parse_completion" parameter.
+ (resolve_subexp): Likewise.
+ (ada_resolve_function): Likewise.
+
+2019-04-04 Tom Tromey <tom@tromey.com>
+
+ * parser-defs.h (struct parser_state) <start_arglist,
+ end_arglist>: New methods.
+ <arglist_len, m_funcall_chain>: New members.
+ (arglist_len, start_arglist, end_arglist): Don't declare.
+ * parse.c (arglist_len, funcall_chain): Remove global.
+ (start_arglist, end_arglist): Remove functions.
+ (parse_exp_in_context): Update.
+ * p-exp.y: Update rules.
+ * m2-exp.y: Update rules.
+ * go-exp.y: Update rules.
+ * f-exp.y: Update rules.
+ * d-exp.y: Update rules.
+ * c-exp.y: Update rules.
+
+2019-04-04 Tom Tromey <tom@tromey.com>
+
+ * rust-exp.y (struct rust_parser) <lex_hex, lex_escape,
+ lex_operator, push_back>: New methods.
+ Update all rules.
+ (rust_parser::lex_hex, lex_escape): Rename and update.
+ (rust_parser::lex_string, rust_parser::lex_identifier): Update.
+ (rust_parser::lex_operator): Rename and update.
+ (rust_parser::lex_number, rustyylex, rustyyerror)
+ (rust_lex_test_init, rust_lex_test_sequence)
+ (rust_lex_test_push_back, rust_lex_tests): Update.
+ * parser-defs.h (struct parser_state) <parser_state>: Add "input"
+ parameter.
+ <lexptr, prev_lexptr>: New members.
+ (lexptr, prev_lexptr): Don't declare.
+ * parse.c (lexptr, prev_lexptr): Remove globals.
+ (parse_exp_in_context): Update.
+ * p-exp.y (yylex, yyerror): Update.
+ * m2-exp.y (parse_number, yylex, yyerror): Update.
+ * go-exp.y (lex_one_token, yyerror): Update.
+ * f-exp.y (match_string_literal, yylex, yyerror): Update.
+ * d-exp.y (lex_one_token, yyerror): Update.
+ * c-exp.y (scan_macro_expansion, finished_macro_expansion)
+ (lex_one_token, yyerror): Update.
+ * ada-lex.l (YY_INPUT): Update.
+ (rewind_to_char): Update.
+ * ada-exp.y (yyerror): Update.
+
+2019-04-04 Tom Tromey <tom@tromey.com>
+
+ * rust-exp.y (rustyylex, rust_lex_tests): Update.
+ * parser-defs.h (struct parser_state) <parser_state>: Add new
+ parameter.
+ <comma_terminates>: New member.
+ (comma_terminates): Don't declare global.
+ * parse.c (comma_terminates): Remove global.
+ (parse_exp_in_context): Update.
+ * p-exp.y (yylex): Update.
+ * m2-exp.y (yylex): Update.
+ * go-exp.y (lex_one_token): Update.
+ * f-exp.y (yylex): Update.
+ * d-exp.y (lex_one_token): Update.
+ * c-exp.y (lex_one_token): Update.
+ * ada-lex.l: Update.
+
+2019-04-04 Tom Tromey <tom@tromey.com>
+
+ * rust-exp.y (struct rust_parser) <paren_depth>: New member.
+ (rustyylex, rust_lex_test_init, rust_lex_test_one)
+ (rust_lex_test_sequence, rust_lex_test_push_back): Update.
+ * parser-defs.h (paren_depth): Don't declare.
+ * parse.c (paren_depth): Remove global.
+ (parse_exp_in_context): Update.
+ * p-exp.y (paren_depth): New global.
+ (pascal_parse): Initialize it.
+ * m2-exp.y (paren_depth): New global.
+ (m2_parse): Initialize it.
+ * go-exp.y (paren_depth): New global.
+ (go_parse): Initialize it.
+ * f-exp.y (paren_depth): New global.
+ (f_parse): Initialize it.
+ * d-exp.y (paren_depth): New global.
+ (d_parse): Initialize it.
+ * c-exp.y (paren_depth): New global.
+ (c_parse): Initialize it.
+ * ada-lex.l (paren_depth): New global.
+ (lexer_init): Initialize it.
+
+2019-04-04 Tom Tromey <tom@tromey.com>
+
+ * rust-exp.y (rust_parser::crate_name, rust_parser::super_name)
+ (rust_parser::convert_ast_to_type)
+ (rust_parser::convert_ast_to_expression, rust_lex_tests): Update.
+ * parser-defs.h (struct parser_state) <parser_state>: Add
+ parameters. Initialize new members.
+ <expression_context_block, expression_context_pc>: New members.
+ * parse.c (expression_context_block, expression_context_pc):
+ Remove globals.
+ (parse_exp_in_context): Update.
+ * p-exp.y: Update all rules.
+ (yylex): Update.
+ * m2-exp.y: Update all rules.
+ (yylex): Update.
+ * go-exp.y (yylex): Update.
+ * f-exp.y (yylex): Update.
+ * d-exp.y: Update all rules.
+ (yylex): Update.
+ * c-exp.y: Update all rules.
+ (lex_one_token, classify_name, yylex, c_parse): Update.
+ * ada-exp.y (write_var_or_type, write_name_assoc): Update.
+
+2019-04-04 Tom Tromey <tom@tromey.com>
+
+ * gdbarch.h, gdbarch.c: Rebuild.
+ * gdbarch.sh (dtrace_parse_probe_argument): Change type.
+ * stap-probe.h:
+ (struct stap_parse_info): Replace "parser_state" with
+ "expr_builder".
+ * parser-defs.h (struct expr_builder): Rename from "parser_state".
+ (parser_state): New class.
+ * parse.c (expr_builder): Rename.
+ (expr_builder::release): Rename.
+ (write_exp_elt, write_exp_elt_opcode, write_exp_elt_sym)
+ (write_exp_elt_msym, write_exp_elt_block, write_exp_elt_objfile)
+ (write_exp_elt_longcst, write_exp_elt_floatcst)
+ (write_exp_elt_type, write_exp_elt_intern, write_exp_string)
+ (write_exp_string_vector, write_exp_bitstring)
+ (write_exp_msymbol, mark_struct_expression)
+ (write_dollar_variable)
+ (insert_type_address_space, increase_expout_size): Replace
+ "parser_state" with "expr_builder".
+ * dtrace-probe.c: Replace "parser_state" with "expr_builder".
+ * amd64-linux-tdep.c (amd64_dtrace_parse_probe_argument): Replace
+ "parser_state" with "expr_builder".
+
+2019-04-04 Tom Tromey <tom@tromey.com>
+
+ * rust-exp.y: Replace "parse_language" with method call.
+ * p-exp.y:
+ (yylex): Replace "parse_language" with method call.
+ * m2-exp.y:
+ (yylex): Replace "parse_language" with method call.
+ * go-exp.y (classify_name): Replace "parse_language" with method
+ call.
+ * f-exp.y (yylex): Replace "parse_language" with method call.
+ * d-exp.y (lex_one_token): Replace "parse_language" with method
+ call.
+ * c-exp.y:
+ (lex_one_token, classify_name, yylex): Replace "parse_language"
+ with method call.
+ * ada-exp.y (find_primitive_type, type_char)
+ (type_system_address): Replace "parse_language" with method call.
+
+2019-04-04 Tom Tromey <tom@tromey.com>
+
+ * rust-exp.y: Replace "parse_gdbarch" with method call.
+ * parse.c (write_dollar_variable, insert_type_address_space):
+ Replace "parse_gdbarch" with method call.
+ * p-exp.y (parse_type, yylex): Replace "parse_gdbarch" with method
+ call.
+ * objc-lang.c (end_msglist): Replace "parse_gdbarch" with method
+ call.
+ * m2-exp.y (parse_type, parse_m2_type, yylex): Replace
+ "parse_gdbarch" with method call.
+ * go-exp.y (parse_type, classify_name): Replace "parse_gdbarch"
+ with method call.
+ * f-exp.y (parse_type, parse_f_type, yylex): Replace
+ "parse_gdbarch" with method call.
+ * d-exp.y (parse_type, parse_d_type, lex_one_token): Replace
+ "parse_gdbarch" with method call.
+ * c-exp.y (parse_type, parse_number, classify_name): Replace
+ "parse_gdbarch" with method call.
+ * ada-lex.l: Replace "parse_gdbarch" with method call.
+ * ada-exp.y (parse_type, find_primitive_type, type_char)
+ (type_system_address): Replace "parse_gdbarch" with method call.
+
+2019-04-04 Tom Tromey <tom@tromey.com>
+
+ * dtrace-probe.c (dtrace_probe::build_arg_exprs): Update.
+ * stap-probe.c (stap_parse_argument): Update.
+ * stap-probe.h (struct stap_parse_info) <stap_parse_info>: Remove
+ initial_size parameter.
+ * rust-exp.y (rust_lex_tests): Update.
+ * parse.c (parser_state): Update.
+ (parse_exp_in_context): Update.
+ * parser-defs.h (struct parser_state) <parser_state>: Remove
+ "initial_size" parameter.
+
+2019-04-04 Tom Tromey <tom@tromey.com>
+
+ * parser-defs.h (increase_expout_size): Don't declare.
+ * parse.c (increase_expout_size): Now static.
+
+2019-04-04 Thomas Schwinge <thomas@codesourcery.com>
+
+ * gnu-nat.c (gnu_nat_target::wait): Fix
+ target_waitstatus_to_string call.
+
+2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * eval.c (evaluate_subexp_standard): Handle internal functions
+ during Fortran function call handling.
+
+2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * NEWS: Mention new internal functions.
+ * dwarf2read.c (dwarf2_init_complex_target_type): New function.
+ (read_base_type): Use dwarf2_init_complex_target_type.
+ * value.c (creal_internal_fn): New function.
+ (cimag_internal_fn): New function.
+ (_initialize_values): Register new internal functions.
+
+2019-04-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * infrun.c (stop_all_threads): If debug_infrun, always
+ trace the wait status after wait_one, using
+ target_waitstatus_to_string and target_pid_to_str.
+ (handle_inferior_event): Replace various trace of
+ wait status kind by a single trace.
+ * gdb/gnu-nat.c (gnu_nat_target::wait): Replace local
+ wait status kind image by target_waitstatus_to_string.
+ * target/waitstatus.c (target_waitstatus_to_string): Fix
+ obsolete comment.
+
+2019-04-01 Tom Tromey <tromey@adacore.com>
+
+ PR symtab/23331:
+ * dwarf2read.c (partial_die_info::read): Handle DW_AT_ranges.
+
+2019-04-01 Sergio Durigan Junior <sergiodj@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ * top.c (quit_force): Call 'finalize_values'.
+ * value.c (finalize_values): New function.
+ * value.h (finalize_values): Declare.
+
+2019-03-30 Eli Zaretskii <eliz@gnu.org>
+
+ * NEWS: Announce $_gdb_major and $_gdb_minor.
+
+ * top.c (init_gdb_version_vars): New function.
+ (gdb_init): Call init_gdb_version_vars.
+
+2019-03-29 Tom Tromey <tromey@adacore.com>
+
+ * printcmd.c (_initialize_printcmd): Add usage lines. Update some
+ help text. Remove dead code.
+
2019-03-29 Keith Seitz <keiths@redhat.com>
From Siddhesh Poyarekar: