+2018-08-09 Jim Wilson <jimw@sifive.com>
+
+ * Makefile.in (ALL_TARGET_OBS): Add riscv-linux-tdep.c.
+ (ALLDEPFILES): Add riscv-linux-nat.c, and riscv-linux-tdep.c.
+ * NEWS: Mention new GNU/Linux RISC-V target.
+ * configure.host: Add riscv*-*-linux*.
+ * configure.nat: Add riscv*.
+ * configure.tgt: Add riscv*-*-linux*.
+ * riscv-linux-nat.c: New file.
+ * riscv-linux-tdep.c: New file.
+
+2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * infrun.c (resume): Make static, add forward declaration.
+ (proceed): Update header comment.
+ * infrun.h (resume): Delete declaration.
+
+2018-08-09 Tom Tromey <tom@tromey.com>
+
+ * riscv-tdep.h: Minor formatting fixes.
+
+2018-08-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * common/scoped_mmap.c (mmap_file): Silence ARI warning.
+ * dwarf-index-cache.c (create_dir_and_check): Likewise.
+ (test_mkdir_recursive): Likewise.
+ * dwarf-index-write.c (write_psymtabs_to_index): Likewise.
+
+2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * valarith.c (value_subscripted_rvalue): If an array is not in
+ memory, and we don't know the upper bound, then we can't know that
+ the requested element exists or not.
+
+2018-08-08 Simon Marchi <simon.marchi@ericsson.com>
+
+ * target.c (str_comma_list_concat_elem): Fix typo in comment.
+ (target_options_to_string): Add comment.
+
+2018-08-08 Tom Tromey <tom@tromey.com>
+
+ * unittests/scoped_mmap-selftests.c: Check result of "write".
+
+2018-08-08 Jim Wilson <jimw@sifive.com>
+
+ * riscv-tdep.c (enum opcode): Add jump, branch, lr, and sc opcodes.
+ (decode_register_index_short): New.
+ (decode_j_type_insn, decode_cj_type_insn): New.
+ (decode_b_type_insn, decode_cb_type_insn): New.
+ (riscv_insn::decode): Add support for jumps, branches, lr, and sc. New
+ local xlen. Check xlen when decoding ambiguous compressed insns. In
+ compressed decode, use is_c_lui_insn instead of is_lui_insn, and
+ is_c_sw_insn instead of is_sw_insn.
+ (riscv_next_pc, riscv_next_pc_atomic_sequence): New.
+ (riscv_software_single_step): New.
+ * riscv-tdep.h (riscv_software_single_step): Declare.
+
+ * riscv-tdep.c (riscv_isa_xlen): Drop static.
+ * riscv-tdep.h (riscv_isa_xlen): Add extern declaration.
+
+2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ PR gdb/18050:
+ * target.c (dispose_inferior): Don't dispose of inferiors that are
+ already killed.
+
+2018-08-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * remote.c (remote_target::download_tracepoint): Change char* to
+ const char*.
+
+2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * target.h (target_options_to_string): Return an std::string.
+ * target.c (str_comma_list_concat_elem): Return void, use
+ std::string.
+ (do_option): Likewise.
+ (target_options_to_string): Return an std::string.
+ * linux-nat.c (linux_nat_target::wait): Adjust.
+ * target-debug.h (target_debug_print_options): Adjust.
+
+2018-08-07 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (CPPFLAGS): New variable.
+ (INTERNAL_CPPFLAGS): Use it.
+
+2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
+
+ * NEWS: Mention the index cache.
+
+2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
+
+ * common/pathstuff.h (get_standard_cache_dir): New.
+ * common/pathstuff.c (get_standard_cache_dir): New.
+ * build-id.h (build_id_to_string): New.
+ * dwarf-index-common.h (INDEX4_SUFFIX, INDEX5_SUFFIX,
+ DEBUG_STR_SUFFIX): Move to here.
+ * dwarf-index-write.c (INDEX4_SUFFIX, INDEX5_SUFFIX,
+ DEBUG_STR_SUFFIX): Move from there.
+ (write_psymtabs_to_index): Make non-static, add basename
+ parameter. Write to temporary files, rename when done.
+ (save_gdb_index_command): Adjust call to
+ write_psymtabs_to_index.
+ * dwarf2read.h (dwarf2_per_objfile) <index_cache_res>: New
+ field.
+ * dwarf2read.c (dwz_file) <index_cache_res>: New field.
+ (get_gdb_index_contents_from_cache): New.
+ (get_gdb_index_contents_from_cache_dwz): New.
+ (dwarf2_initialize_objfile): Read index from cache.
+ (dwarf2_build_psymtabs): Save to index.
+ * dwarf-index-cache.h: New file.
+ * dwarf-index-cache.c: New file.
+ * dwarf-index-write.h: New file.
+
+2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
+
+ * gnulib/aclocal.m4: Re-generate.
+ * gnulib/config.in: Re-generate.
+ * gnulib/configure: Re-generate.
+ * gnulib/import/Makefile.am: Re-generate.
+ * gnulib/import/Makefile.in: Re-generate.
+ * gnulib/import/m4/gnulib-cache.m4: Re-generate.
+ * gnulib/import/m4/gnulib-comp.m4: Re-generate.
+ * gnulib/import/m4/mkdir.m4: New file.
+ * gnulib/import/mkdir.c: New file.
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add mkdir
+ module.
+
+2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
+
+ * Makefile.in (COMMON_SFILES): Add common/scoped_mmap.c.
+ * common/scoped_mmap.c: New file.
+ * common/scoped_mmap.h (destroy): New method.
+ (~scoped_mmap, reset): Use destroy.
+ (scoped_mmap): New move constructor.
+ (mmap_file): New declaration.
+ * unittests/scoped_mmap-selftests.c (test_normal,
+ test_invalid_filename, run_tests): New functions.
+ (_initialize_scoped_mmap_selftests): Register selftest.
+
+2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
+
+ * dwarf2read.c (read_gdb_index_from_section): Rename to...
+ (read_gdb_index_from_buffer): ... this. Remove section
+ parameter, add buffer parameter.
+ (get_gdb_index_contents_ftype,
+ get_gdb_index_contents_dwz_ftype): New typedefs.
+ (dwarf2_read_gdb_index): Add callback parameters to get the
+ index contents.
+ (get_gdb_index_contents_from_section): New.
+ (dwarf2_initialize_objfile): Update call to
+ dwarf2_read_gdb_index.
+
+2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
+
+ * common/filestuff.h (gdb_fopen_cloexec): New overload.
+ (gdb_open_cloexec): Likewise.
+ * nat/linux-osdata.c (command_from_pid): Use string_printf.
+ (commandline_from_pid): Likewise.
+ (linux_xfer_osdata_threads): Likewise.
+ (linux_xfer_osdata_fds): Likewise.
+ * ada-lang.c (is_package_name): Likewise.
+ * auxv.c (procfs_xfer_auxv): Likewise.
+ * breakpoint.c (print_one_breakpoint_location): Use
+ uiout::field_fmt.
+ (print_one_catch_solib): Use string_printf.
+ * coff-pe-read.c (add_pe_exported_sym): Likewise.
+ (add_pe_forwarded_sym): Likewise.
+ * dwarf2read.c (create_type_unit_group): Likewise.
+ (build_error_marker_type): Likewise.
+ * infcall.c (get_function_name): Likewise.
+ * valprint.c (print_converted_chars_to_obstack): Likewise.
+ * xtensa-tdep.c (xtensa_register_type): Likewise.
+
+2018-08-06 Simon Marchi <simon.marchi@ericsson.com>
+
+ * remote.c (remote_target::download_tracepoint): Fix format
+ string errors.
+
+2018-08-06 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * tracefile.c: Include common/byte-vector.h.
+ (trace_save): Change type of buf to gdb::byte_vector. Initialize
+ with trace_regblock_size if needed. Update uses of buf.
+
+2018-08-06 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * tracepoint.h (collection_list) <m_regs_mask>: Change type to
+ std::vector<unsigned char>.
+ * tracepoint.c (collection_list::collection_list): Remove
+ m_regs_mask initializer from initializer list. Resize
+ m_regs_mask using the largest remote register number.
+ (collection_list::add_remote_register): Remove size check on
+ m_regs_mask. Use at to access element.
+ (collection_list::stringify): Change type of temp_buf to
+ gdb::char_vector. Update uses of temp_buf. Resize if needed to
+ stringify the register mask. Use pack_hex_byte for the register
+ mask.
+
+2018-08-06 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * tracepoint.h (class collection_list) <add_register>: Remove.
+ <add_remote_register, add_ax_registers, add_local_register>:
+ Declare.
+ <add_memrange>: Add scope parameter.
+ * tracepoint.c (encode_actions_1): Likewise.
+ (collection_list::add_register): Rename to ...
+ (collection_list::add_remote_register): ... this. Update
+ comment.
+ (collection_list::add_ax_registers, add_local_register): New
+ methods.
+ (collection_list::add_memrange): Add scope parameter. Call
+ add_local_register instead of add_register.
+ (finalize_tracepoint_aexpr): New function.
+ (collection_list::collect_symbol): Update calls to add_memrange.
+ Call add_local_register instead of add_register. Call
+ add_ax_registers. Call finalize_tracepoint_aexpr.
+ (encode_actions_1): Get remote regnos for $reg action. Call
+ add_remote_register, add_ax_registers, and add_local_register.
+ Update call to add_memrange. Call finalize_tracepoint_aexpr.
+ (validate_actionline): Call finalize_tracepoint_aexpr.
+
+2018-08-06 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * remote.c (remote_target::download_tracepoint): Remove BUF_SIZE.
+ Replace array buf with gdb::char_vector buf, of size
+ get_remote_packet_size (). Replace references to buf and
+ BUF_SIZE to buf.data () and buf.size (). Replace strcpy, strcat
+ and xsnprintf with snprintf. Raise errors if the buffer is too
+ small.
+
+2018-08-06 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * remote.c (remote_target::download_tracepoint): Fix the has_more
+ predicate in the QTDP action list iteration.
+
+2018-08-06 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * remote.c (remote_target::download_tracepoint): Fix indentation
+ in for block.
+
+2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * proc-api.c (_initialize_proc_api): Remove c, unused.
+ * procfs.c (procfs_init_inferior): Remove signals, unused.
+ (procfs_target::make_corefile_notes): Remove old_chain, fpregs,
+ unused.
+
+2018-08-06 Sergey Korolev <s.korolev@ndmsystems.com>
+ Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * linux-nat.c (linux_nat_target::follow_fork): Avoid using
+ 'W_STOPCODE (0)' as this could be ambiguous.
+
+2018-08-03 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * ser-tcp.c (net_open): Fix thinko when deciding whether to
+ disable TCP's Nagle algorithm (use "ai_protocol" instead of
+ "ai_socktype").
+
+2018-08-02 Tom Tromey <tom@tromey.com>
+
+ PR symtab/16842.
+ * dwarf2read.c (read_func_scope): Set symtab on template parameter
+ symbols.
+ (process_structure_scope): Likewise.
+
+2018-08-02 Xavier Roirand <roirand@adacore.com>
+
+ PR gdb/22629:
+ * darwin-nat.c (darwin_kill_inferior): Fix handling of
+ kill inferior.
+
+2018-08-02 Tom Tromey <tom@tromey.com>
+
+ * darwin-nat.c (find_inferior_task_it, darwin_find_thread)
+ (darwin_suspend_inferior, darwin_resume_inferior)
+ (darwin_decode_notify_message, darwin_resume_inferior_threads)
+ (darwin_check_new_threads): Check result of get_darwin_inferior.
+
+2018-07-31 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 8.1.1 released.
+
+2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
+
+ * varobj.c (varobj_get_path_expr_parent): Report an error if
+ parent is a dynamic varobj.
+
+2018-07-31 Simon Marchi <simon.marchi@ericsson.com>
+
+ * gnulib/aclocal.m4: Re-generate.
+ * gnulib/config.in: Re-generate.
+ * gnulib/configure: Re-generate.
+ * gnulib/import/Makefile.in: Re-generate.
+ * gnulib/import/m4/gnulib-comp.m4: Re-generate.
+ * gnulib/import/m4/onceonly.m4: Re-generate.
+
+2018-07-31 Simon Marchi <simon.marchi@ericsson.com>
+
+ * target-descriptions.c (struct xml_test_tdesc): New.
+ (xml_tdesc): Change type to std::vector<xml_test_tdesc>.
+ (record_xml_tdesc): Update.
+ (maintenance_check_xml_descriptions): Update.
+ * target-descriptions.h (record_xml_tdesc): Update comment.
+
+2018-07-30 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * eval.c (evaluate_subexp_for_sizeof): Check for array type before
+ checking array bounds are defined.
+
+2018-07-30 Tom Tromey <tom@tromey.com>
+
+ * nat/linux-osdata.c (pid_pgid_entry::operator<): Fix
+ irreflexivity violation.
+
+2018-07-30 Tom Tromey <tom@tromey.com>
+
+ * cli/cli-decode.c (lookup_cmd): Remove lint code.
+ * value.c (unpack_long): Remove lint code.
+ * valops.c (value_ind): Remove lint code.
+ * valarith.c (value_x_binop, value_x_unop, value_equal)
+ (value_pos): Remove lint code.
+
+2018-07-28 Tom de Vries <tdevries@suse.de>
+
+ * eval.c (evaluate_subexp_for_sizeof): Interpret size of dynamic type
+ with undefined upper bound as <optimized out>.
+
+2018-07-27 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * gcore.in: Rename variable "name" to "prefix". Expand
+ "usage" text.
+
+2018-07-14 Jon Turney <jon.turney@dronecode.org.uk>
+
+ * windows-nat.c (windows_nat_target::create_inferior): Update to
+ call close() in global namespace.
+
+2018-07-26 Tom Tromey <tom@tromey.com>
+
+ * dwarf-index-write.c (add_address_entry): Don't add objfile
+ offsets.
+ * dbxread.c (find_stab_function): Rename from
+ find_stab_function_addr. Return a bound_minimal_symbol.
+ (read_dbx_symtab): Use raw_text_low, raw_text_high.
+ Don't add objfile offsets.
+ (end_psymtab): Use raw_text_low, raw_text_high,
+ MSYMBOL_VALUE_RAW_ADDRESS.
+ (read_ofile_symtab): Update.
+ (process_one_symbol): Update.
+ * dwarf2read.c (create_addrmap_from_index): Don't add objfile
+ offsets.
+ (dw2_relocate): Remove.
+ (dw2_find_pc_sect_symtab): Bias PC by the text offset before
+ searching addrmap.
+ (dwarf2_gdb_index_functions, dwarf2_debug_names_functions):
+ Update.
+ (process_psymtab_comp_unit_reader, add_partial_symbol)
+ (add_partial_subprogram, dwarf2_ranges_read): Update.
+ (load_partial_dies): Update.
+ (add_address_entry): Don't add objfile offsets.
+ (dwarf2_build_include_psymtabs): Update.
+ (create_addrmap_from_aranges): Don't add objfile offsets.
+ (dw2_find_pc_sect_compunit_symtab): Update.
+ * mdebugread.c (parse_symbol): Don't add objfile offsets.
+ (parse_lines): Remove 'pst' parameter, replace with 'textlow'.
+ Update.
+ (parse_partial_symbols): Don't add objfile offsets. Use
+ raw_text_low, raw_text_high. Update.
+ (handle_psymbol_enumerators, psymtab_to_symtab_1): Update.
+ * objfiles.c (objfile_relocate1): Don't relocate psymtabs_addrmap
+ or call 'relocate' quick function. Clear psymbol_map.
+ * psympriv.h (struct partial_symbol) <address>: Add section
+ offset.
+ <set_unrelocated_address>: Rename from set_address.
+ <raw_text_low, raw_text_high>: New methods.
+ <text_low, text_high>: Add objfile parameter.
+ (add_psymbol_to_bcache): Add 'section' parameter. Call
+ set_unrelocated_address.
+ * psymtab.c (find_pc_sect_psymtab_closer, find_pc_sect_psymtab)
+ (find_pc_psymbol): Update.
+ (fixup_psymbol_section, relocate_psymtabs): Remove.
+ (dump_psymtab, psym_functions): Update.
+ (add_psymbol_to_bcache, add_psymbol_to_list): Add 'section'
+ parameter.
+ (maintenance_info_psymtabs, maintenance_check_psymtabs): Update.
+ (start_psymtab_common): Update.
+ * symfile-debug.c (debug_qf_relocate): Remove.
+ (debug_sym_quick_functions): Update.
+ * symfile.h (struct quick_symbol_functions) <relocate>: Remove.
+ * xcoffread.c (scan_xcoff_symtab): Don't add objfile offsets.
+ Update.
+
+2018-07-26 Tom Tromey <tromey@redhat.com>
+
+ * dbxread.c (end_psymtab): Use text_high_valid and
+ text_low_valid.
+ * mdebugread.c (parse_partial_symbols): Use text_low_valid.
+ (psymtab_to_symtab_1): Use text_high_valid and text_low_valid.
+ * psympriv.h (struct partial_symtab) <m_text_low, m_text_high>:
+ Update comment.
+ <text_low_valid, text_high_valid>: New fields.
+ <set_text_low, set_text_high>: Update.
+ * xcoffread.c (scan_xcoff_symtab): Use text_low_valid.
+
+2018-07-26 Tom Tromey <tom@tromey.com>
+
+ * dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab):
+ Update.
+ * dwarf2read.c (dwarf2_create_include_psymtab): Don't initialize
+ textlow and texthigh fields.
+ (process_psymtab_comp_unit_reader, dwarf2_build_include_psymtabs):
+ Update.
+ * mdebugread.c (parse_lines, parse_partial_symbols)
+ (psymtab_to_symtab_1): Update.
+ * psympriv.h (struct partial_symtab) <m_text_low, m_text_high>:
+ Rename fields. Update comment. Now private.
+ <text_low, text_high, set_text_low, set_text_high>: New methods.
+ * psymtab.c (find_pc_sect_psymtab_closer, find_pc_sect_psymtab)
+ (find_pc_sect_psymbol, relocate_psymtabs, dump_psymtab)
+ (start_psymtab_common, maintenance_info_psymtabs)
+ (maintenance_check_psymtabs): Update.
+ * xcoffread.c (xcoff_end_psymtab): Don't initialize textlow and
+ texthigh fields.
+ (scan_xcoff_symtab): Update.
+
+2018-07-26 Tom Tromey <tromey@redhat.com>
+
+ * psympriv.h (struct partial_symbol) <unrelocated_address,
+ address, set_address>: New methods.
+ * psymtab.c (find_pc_sect_psymtab_closer, find_pc_sect_psymbol)
+ (fixup_psymbol_section, relocate_psymtabs): Update.
+ (print_partial_symbols): Add 'objfile' parameter. Update.
+ (dump_psymtab, add_psymbol_to_bcache, psym_fill_psymbol_map):
+ Update.
+
+2018-07-26 Tom Tromey <tom@tromey.com>
+
+ * dwarf-index-write.c (write_psymbols, debug_names::insert)
+ (debug_names::write_psymbols): Update.
+ * psympriv.h (struct partial_symbol): Derive from
+ general_symbol_info.
+ <obj_section>: New method.
+ (PSYMBOL_DOMAIN, PSYMBOL_CLASS): Remove.n
+ * psymtab.c (find_pc_sect_psymtab_closer, find_pc_sect_psymtab)
+ (find_pc_sect_psymbol, fixup_psymbol_section)
+ (match_partial_symbol, lookup_partial_symbol, relocate_psymtabs)
+ (print_partial_symbols, recursively_search_psymtabs)
+ (compare_psymbols, psymbol_hash, psymbol_compare)
+ (add_psymbol_to_bcache, maintenance_check_psymtabs)
+ (psymbol_name_matches, psym_fill_psymbol_map): Update.
+
+2018-07-26 Tom Tromey <tromey@redhat.com>
+
+ * dbxread.c (end_psymtab): Remove dead code.
+
+2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * dwarf2-frame-tailcall.c (tailcall_frame_sniffer): Exit early if
+ DWARF unwinders are disabled.
+ * dwarf2-frame.c: Add dwarf2read.h include.
+ (dwarf2_frame_sniffer): Exit early if DWARF unwinders are
+ disabled.
+ (dwarf2_frame_unwinders_enabled_p): Define.
+ (show_dwarf_unwinders_enabled_p): New function.
+ (_initialize_dwarf2_frame): Register switch to control DWARF
+ unwinder use.
+ * dwarf2-frame.h (dwarf2_frame_unwinders_enabled_p): Declare.
+ * dwarf2read.c (set_dwarf_cmdlist): Remove static keyword.
+ (show_dwarf_cmdlist): Remove static keyword.
+ * dwarf2read.h (set_dwarf_cmdlist): Declare.
+ (show_dwarf_cmdlist): Declare.
+ * NEWS: Document new feature.
+
+2018-07-26 Tom de Vries <tdevries@suse.de>
+
+ PR breakpoints/23366
+ * infcmd.c (info_program_command): Handle ptid == minus_one_ptid.
+
+2018-07-26 Tom de Vries <tdevries@suse.de>
+
+ * dwarf2read.c (read_subrange_type): Warn if DW_AT_upper_bound or
+ DW_AT_count can't be translated to a dynamic prop.
+
+2018-07-25 Tom de Vries <tdevries@suse.de>
+
+ * dwarf2loc.c (dwarf2_locexpr_baton_eval): Wrap ctx.eval call in
+ try/catch.
+
+2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
+
+ * breakpoint.c (enable_disable_bp_num_loc): Notify observers.
+
+2018-07-25 Joel Brobecker <brobecker@adacore.com>
+
+ * MAINTAINERS (Global Maintainers): Add Tom Tromey.
+
+2018-07-24 Keith Seitz <keiths@redhat.comt
+
+ PR symtab/23010
+ * dwarf2read.c (dw2_add_symbol_to_list): New function.
+ (fixup_go_packaging, new_symbol): Use dw2_add_symbol_to_list
+ instead of add_symbol_to_list.
+ (read_file_scope): Call prepare_one_comp_unit before reading
+ any other DIEs.
+
+2018-07-24 Simon Marchi <simon.marchi@ericsson.com>
+
+ * common/scoped_mmap.h (class scoped_mmap): Fix indentation.
+
+2018-07-24 Tom Tromey <tom@tromey.com>
+
+ * utils.c (malloc, realloc, free): Don't declare.
+ * configure, config.in: Rebuild.
+ * configure.ac: Don't check for declarations of free, malloc, or
+ realloc.
+
+2018-07-22 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * aarch64-linux-nat.c
+ (aarch64_linux_nat_target::stopped_data_address): Remove unused
+ variable.
+ * arm-linux-nat.c (fetch_regs): Likewise.
+ (store_regs): Likewise.
+ (fetch_vfp_regs): Likewise.
+ (store_vfp_regs): Likewise.
+ (arm_linux_nat_target::insert_hw_breakpoint): Likewise.
+ (arm_linux_nat_target::remove_hw_breakpoint): Likewise.
+ (arm_linux_nat_target::insert_watchpoint): Likewise.
+ (arm_linux_nat_target::remove_watchpoint): Likewise.
+ * mips-linux-nat.c (mips_linux_nat_target::insert_watchpoint):
+ Likewise.
+ * nat/aarch64-sve-linux-ptrace.c (aarch64_sve_get_sveregs):
+ Likewise.
+ * ppc-linux-nat.c (fetch_register): Likewise.
+ (fetch_all_gp_regs): Likewise.
+ (fetch_ppc_registers): Likewise.
+ (store_all_gp_regs): Likewise.
+ (store_ppc_registers): Likewise.
+ (hwdebug_insert_point): Likewise.
+ (can_use_watchpoint_cond_accel): Likewise.
+ * remote-sim.c (gdb_os_write_stdout): Likewise.
+
+2018-07-22 Simon Marchi <simon.marchi@polymtl.ca>
+ Tom Tromey <tom@tromey.com>
+
+ * warning.m4 (AM_GDB_WARNINGS): Add -Wunused-variable and special
+ test for it.
+ * configure: Rebuild.
+
+2018-07-22 Tom Tromey <tom@tromey.com>
+
+ * regformats/regdat.sh: Define xmltarget_${name} inside
+ #ifndef IN_PROCESS_AGENT.
+
+2018-07-22 Tom Tromey <tom@tromey.com>
+
+ * value.c (value_fetch_lazy_bitfield): Remove unused variable.
+
+2018-07-22 Tom Tromey <tom@tromey.com>
+
+ * symfile.c (reread_symbols): Notify iter, not objfile.
+
+2018-07-22 Tom Tromey <tom@tromey.com>
+
+ * ravenscar-thread.c (ravenscar_thread_target::store_registers):
+ Use arch_ops.
+ (ravenscar_thread_target::prepare_to_store): Likewise.
+
+2018-07-22 Tom Tromey <tom@tromey.com>
+
+ * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Remove
+ unused variable. Call value_fetch_lazy when needed.
+ * guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer):
+ Remove unused variable. Call value_fetch_lazy when needed.
+
2018-07-22 Tom Tromey <tom@tromey.com>
* m32c-tdep.c (mark_dma): Return void.