+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