+2018-07-16 Tom Tromey <tom@tromey.com>
+
+ * xcoffread.c (xcoff_new_init): Update.
+ * mipsread.c (mipscoff_new_init): Update.
+ * mdebugread.c (mdebug_build_psymtabs): Update.
+ * elfread.c (elf_new_init): Update.
+ * dbxread.c (dbx_new_init, coffstab_build_psymtabs)
+ (elfstab_build_psymtabs, stabsect_build_psymtabs): Update.
+ * buildsym.h (buildsym_new_init): Don't declare.
+ * buildsym.c (buildsym_new_init): Remove.
+
+2018-07-16 Tom Tromey <tom@tromey.com>
+
+ * stabsread.h (within_function): Move from buildsym.h.
+ * stabsread.c (start_stabs): Clear within_function.
+ * coffread.c (coff_start_symtab): Clear within_function.
+ * buildsym.h (within_function): Move to stabsread.h.
+ * buildsym.c (prepare_for_building): Update.
+
+2018-07-16 Tom Tromey <tom@tromey.com>
+
+ * stabsread.h (processing_gcc_compilation): Move from buildsym.h.
+ * dwarf2read.c (dwarf2_start_symtab): Don't set
+ processing_gcc_compilation.
+ * buildsym.h (processing_gcc_compilation): Move to stabsread.h.
+
+2018-07-16 Tom Tromey <tom@tromey.com>
+
+ * stabsread.h (HASHSIZE, hashname, symnum, next_symbol_text)
+ (next_symbol_text_func): Move from buildsym.h.
+ * stabsread.c (hashname): Move from buildsym.c.
+ * buildsym.h (HASHSIZE, symnum, next_symbol_text)
+ (next_symbol_text_func, hashname): Move to stabsread.h.
+ * buildsym.c: Don't include bcache.h
+ (hashname): Move to stasbread.c.
+
+2018-07-16 Tom Tromey <tom@tromey.com>
+
+ * buildsym.h (context_stack_size): Don't declare.
+ * buildsym.c (context_stack_size): New global.
+
+2018-07-16 Tom Tromey <tom@tromey.com>
+
+ * dbxread.c (processing_acc_compilation): New global.
+ * buildsym.h (processing_acc_compilation): Don't declare.
+
+2018-07-16 Tom Tromey <tom@tromey.com>
+
+ * xcoffread.c (aix_process_linenos, complete_symtab): Update.
+ * dbxread.c (read_ofile_symtab): Update.
+ * coffread.c (coff_start_symtab, coff_end_symtab): Update.
+ * buildsym.h (last_source_start_addr): Remove.
+ (set_last_source_start_addr, get_last_source_start_addr):
+ Declare.
+ * buildsym.c (buildsym_compunit::buildsym_compunit): Add last_addr
+ parameter.
+ (struct buildsym_compunit) <m_last_source_start_addr>: New
+ member.
+ (prepare_for_building): Remove start_addr parameter.
+ (start_symtab, restart_symtab, end_symtab_get_static_block)
+ (end_symtab_with_blockvector): Update.
+ (set_last_source_start_addr, get_last_source_start_addr): New
+ functions.
+
+2018-07-16 Tom Tromey <tom@tromey.com>
+
+ * buildsym.c (struct buildsym_compunit) <m_have_line_numbers>: New
+ member.
+ (have_line_numbers): Remove.
+ (record_line, prepare_for_building, end_symtab_get_static_block)
+ (augment_type_symtab): Update.
+
+2018-07-16 Tom Tromey <tom@tromey.com>
+
+ * buildsym.c (~buildsym_compunit): Free the macro table.
+ (struct buildsym_compunit) <get_macro_table, release_macros>: New
+ methods.
+ <m_pending_macros>: New member.
+ (pending_macros): Remove.
+ (~scoped_free_pendings, get_macro_table, prepare_for_building)
+ (reset_symtab_globals, end_symtab_get_static_block)
+ (end_symtab_with_blockvector, augment_type_symtab)
+ (buildsym_init): Update.
+
+2018-07-16 Tom Tromey <tom@tromey.com>
+
+ * buildsym.c (buildsym_compunit::buildsym_compunit): Add name
+ parameter.
+ (buildsym_compunit::set_last_source_file): New method.
+ <m_last_source_file>: New member.
+ (prepare_for_building): Remove "name" parameter.
+ (start_symtab, restart_symtab, reset_symtab_globals): Update.
+ (last_source_file): Remove.
+ (set_last_source_file, get_last_source_file): Update.
+
+2018-07-16 Tom Tromey <tom@tromey.com>
+
+ * buildsym.c (prepare_for_building): Add assert.
+
+2018-07-16 Tom Tromey <tom@tromey.com>
+
+ * buildsym.c (~buildsym_compunit): Update.
+ (struct buildsym_compunit) <comp_unit>: Now a unique_xmalloc_ptr.
+ (start_subfile, patch_subfile_names)
+ (end_symtab_with_blockvector): Update.
+
+2018-07-16 Tom Tromey <tom@tromey.com>
+
+ * buildsym.c (struct buildsym_compunit): Add constructor,
+ destructor, initializers.
+ (start_buildsym_compunit): Remove.
+ (free_buildsym_compunit): Use "delete".
+ (start_symtab, restart_symtab): Use "new".
+
+2018-07-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * symfile.c (set_objfile_default_section_offset): Remove struct
+ keyword.
+
+2018-07-14 Stafford Horne <shorne@gmail.com>
+
+ * (Responsible Maintainers): Add myself as or1k maintainer.
+
+2018-07-13 Tom Tromey <tom@tromey.com>
+
+ * symfile.c (set_objfile_default_section_offset): Use extra braces
+ around initializer.
+
+2018-07-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * s390-tdep.c (s390_displaced_step_fixup): Adjust PC for a
+ non-branching basr.
+
+2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+ unittests/cli-utils-selftests.c
+ * unittests/cli-utils-selftests.c: New file.
+
+2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * NEWS: Mention new commands. Mention change to 'thread apply'.
+
+2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * thread.c (thr_try_catch_cmd): New function.
+ (thread_apply_all_command): Handle qcs flags.
+ (thread_apply_command): Handle qcs flags.
+ (taas_command): New function.
+ (tfaas_command): New function.
+ (_initialize_thread): Update to setup the new commands 'taas
+ and 'tfaas'. Change doc string for 'thread apply'.
+
+2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * stack.c: (trailing_outermost_frame): New function, mostly
+ extracted from backtrace_command_1.
+ (leading_innermost_frame): New function.
+ (backtrace_command_1): Update to call trailing_outermost_frame.
+ (frame_apply_command_count): New function.
+ (frame_apply_level_command): New function.
+ (frame_apply_all_command): New function.
+ (frame_apply_command): New function.
+ (faas_command): New function.
+ (frame_cmd_list): New variable.
+ (_initialize_stack): Update to setup the new commands 'frame apply'
+ and 'faas'.
+
+2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * cli-utils.c (number_or_range_parser::get_number): Only handle
+ numbers or convenience var as numbers.
+ (parse_flags): New function.
+ (parse_flags_qcs): New function.
+ (number_or_range_parser::finished): Ensure parsing end is detected
+ before end of string.
+ * cli-utils.h (parse_flags): New function.
+ (parse_flags_qcs): New function.
+ (number_or_range_parser): Remove m_finished bool.
+ (number_or_range_parser::skip_range): Set m_in_range to false.
+
+2018-07-12 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * ser-tcp.c (try_connect): Declare 'ioarg' as 'u_long' if building
+ on Windows.
+
+2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+ Paul Fertser <fercerpav@gmail.com>
+ Tsutomu Seki <sekiriki@gmail.com>
+ Pedro Alves <palves@redhat.com>
+
+ * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+ 'unittests/parse-connection-spec-selftests.c'.
+ (COMMON_SFILES): Add 'common/netstuff.c'.
+ (HFILES_NO_SRCDIR): Add 'common/netstuff.h'.
+ * NEWS (Changes since GDB 8.2): Mention IPv6 support.
+ * common/netstuff.c: New file.
+ * common/netstuff.h: New file.
+ * ser-tcp.c: Include 'netstuff.h' and 'wspiapi.h'.
+ (wait_for_connect): Update comment. New parameter
+ 'gdb::optional<int> sock' instead of 'struct serial *scb'.
+ Use 'sock' directly instead of 'scb->fd'.
+ (try_connect): New function, with code from 'net_open'.
+ (net_open): Rewrite main loop to deal with multiple
+ sockets/addresses. Handle IPv6-style hostnames; implement
+ support for IPv6 connections.
+ * unittests/parse-connection-spec-selftests.c: New file.
+
+2018-07-11 Pedro Alves <palves@redhat.com>
+
+ PR gdb/23377
+ * remote.c (remote_target::remote_detach_pid): Call
+ set_current_process.
+
+2018-07-11 Pedro Alves <palves@redhat.com>
+
+ * h8300-tdep.c (h8300_gdbarch_init): Remove
+ set_gdbarch_ecoff_reg_to_regnum calls.
+
+2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR c++/23373
+ * c-typeprint.c (c_type_print_base_struct_union): Don't print
+ offsets/sizes for static members of a class/struct.
+
+2018-07-11 Alan Hayward <alan.hayward@arm.com>
+
+ * target-descriptions.c (tdesc_register_bitsize): Rename.
+ * target-descriptions.h (tdesc_register_bitsize): Likewise.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Use new name.
+ * aarch64-tdep.c (aarch64_get_tdesc_vq): Convert size.
+
+2018-07-10 Tom Tromey <tom@tromey.com>
+
+ * breakpoint.c (moribund_locations): Now static and a
+ std::vector.
+ (breakpoint_init_inferior, moribund_breakpoint_here_p)
+ (build_bpstat_chain, update_global_location_list)
+ (breakpoint_retire_moribund): Update.
+ * breakpoint.h (bp_location_p): Remove typedef. Don't declare
+ VEC.
+
+2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (riscv_is_fp_regno_p): New function.
+ (riscv_register_reggroup_p): Use new function, remove unneeded
+ parenthesis.
+ (riscv_push_dummy_call): Extend assert to compare against xlen or
+ flen based on register type.
+
+2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (riscv_print_arg_location): Use TYPE_SAFE_NAME.
+
+2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * remote.c (show_hardware_watchpoint_limit): New function.
+ (show_hardware_watchpoint_length_limit): New function.
+ (show_hardware_breakpoint_limit): New function.
+ (_initialize_remote): Use add_setshow_zuinteger_unlimited_cmd
+ where appropriate, update help text.
+
+2018-07-09 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (CDEPS): Don't mention XM_CDEPS.
+ (CLIBS): Don't mention NAT_CLIBS.
+
+2018-07-09 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (ADD_FILES, ADD_DEPS): Remove.
+ (LIBGDB_OBS, clean mostlyclean): Update.
+ (gdb$(EXEEXT), insight$(EXEEXT)): Update.
+
+2018-07-09 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (%.c: %.y): Use ECHO_YACC.
+ (%.c: %.l): Use ECHO_LEX. Just fail if flex not available.
+ * silent-rules.mk (ECHO_YACC, ECHO_LEX): New variables.
+
+2018-07-09 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (ALLDEPFILES): Remove exec.c.
+ (COMMON_OBS): Remove exec.o.
+ (COMMON_SFILES): Add exec.c.
+
+2018-07-09 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (LINT, LINTFLAGS, LINTFILES, lint): Remove.
+
+2018-07-09 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (clean mostlyclean): Remove stamp-version.
+ (version.c): Depend on stamp-version.
+ (stamp-version): New rule, from version.c rule.
+
+2018-07-09 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (init.c): Depend on stamp-init.
+ (stamp-init): New rule, from init.c rule.
+ (clean mostlyclean): Remove stamp-init.
+
+2018-07-09 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (INIT_FILES): Remove CONFIG_SRCS,
+ SUBDIR_GCC_COMPILE_SRCS.
+
+2018-07-09 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (init.c): Remove some unused sed rules.
+
+2018-07-09 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (TSOBS): Remove.
+ (INIT_FILES): Update.
+ (LIBGDB_OBS): Update.
+ (COMMON_SFILES): Add inflow.c.
+ (SFILES): Remove inflow.c.
+
+2018-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * contrib/gdb-add-index.sh ($dwarf5): New, use it.
+
+2018-07-07 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * ia64-libunwind-tdep.c (get_reg_name, get_fpreg_name,
+ get_saveloc_name, is_signal_frame_name, step_name,
+ init_remote_name, create_addr_space_name,
+ destroy_addr_space_name, search_unwind_table_name,
+ find_dyn_list_name): Constify.
+
+2018-07-05 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * darwin-nat.c (darwin_pthread_kill): New function.
+ (darwin_resume_thread): Use darwin_pthread_kill.
+
+2018-07-05 Tom de Vries <tdevries@suse.de>
+
+ * macroexp.c (macro_buffer) <operator=>: New member function.
+
+2018-07-04 Tom Tromey <tom@tromey.com>
+
+ * darwin-nat.c (darwin_attach_pid): Use exit_inferior.
+
+2018-07-04 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * common/common-defs.h (HAVE_USEFUL_SBRK): Define.
+ * main.c: Use HAVE_USEFUL_SBRK instead of HAVE_SBRK.
+ * maint.c: Likewise.
+ * top.c: Likewise.
+
+2018-07-04 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Create a new section for the next release branch.
+ Rename the section of the current branch, now that it has
+ been cut.
+
+2018-07-04 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 8.2 branch created (1b919490e8ba30bf1d6941df0ed112b0e557017e):
+ * version.in: Bump version to 8.2.50.DATE-git.
+
+2018-07-04 Vyacheslav Barinov <v.barinov@samsung.com>
+ Pedro Alves <palves@redhat.com>
+
+ * linux-nat.c (linux_init_ptrace): Rename to ...
+ (linux_init_ptrace_procfs): ... this. Call
+ linux_proc_init_warnings.
+ (linux_nat_target::post_attach)
+ (linux_nat_target::post_startup_inferior): Adjust.
+ * nat/linux-procfs.c (linux_proc_init_warnings): Define function.
+ * nat/linux-procfs.h (linux_proc_init_warnings): Declare function.
+
+2018-07-04 Tom de Vries <tdevries@suse.de>
+
+ * dwarf2read.c (error_check_comp_unit_head): Move dwarf version
+ check ...
+ (read_comp_unit_head): ... here.
+
+2018-07-03 Tom Tromey <tom@tromey.com>
+
+ * tracepoint.c (process_tracepoint_on_disconnect, start_tracing)
+ (stop_tracing, tstatus_command)
+ (find_matching_tracepoint_location, merge_uploaded_tracepoints)
+ (print_one_static_tracepoint_marker): Update.
+ * breakpoint.c (static_tracepoints_here, all_tracepoints): Return
+ std::vector.
+ * breakpoint.h (breakpoint_p): Remove typedef. Don't declare
+ VEC.
+ (all_tracepoints, static_tracepoints_here): Return std::vector.
+
+2018-07-03 Tom Tromey <tom@tromey.com>
+
+ * common/ptid.c (ptid_equal): Remove.
+ * common/ptid.h (ptid_equal): Don't declare.
+ * ada-tasks.c: Update.
+ * breakpoint.c: Update.
+ * common/agent.c: Update.
+ * corelow.c: Update.
+ * darwin-nat-info.c: Update.
+ * darwin-nat.c: Update.
+ * dcache.c: Update.
+ * dtrace-probe.c: Update.
+ * dummy-frame.c: Update.
+ * fbsd-nat.c: Update.
+ * frame.c: Update.
+ * gdbthread.h: Update.
+ * gnu-nat.c: Update.
+ * go32-nat.c: Update.
+ * inf-loop.c: Update.
+ * inf-ptrace.c: Update.
+ * infcall.c: Update.
+ * infcmd.c: Update.
+ * inflow.c: Update.
+ * infrun.c: Update.
+ * linux-fork.c: Update.
+ * linux-nat.c: Update.
+ * linux-thread-db.c: Update.
+ * mi/mi-cmd-var.c: Update.
+ * mi/mi-interp.c: Update.
+ * mi/mi-main.c: Update.
+ * nto-procfs.c: Update.
+ * ppc-linux-tdep.c: Update.
+ * procfs.c: Update.
+ * python/py-inferior.c: Update.
+ * python/py-record-btrace.c: Update.
+ * python/py-record.c: Update.
+ * ravenscar-thread.c: Update.
+ * regcache.c: Update.
+ * remote-sim.c: Update.
+ * remote.c: Update.
+ * sol-thread.c: Update.
+ * solib.c: Update.
+ * target.c: Update.
+ * tui/tui-stack.c: Update.
+ * varobj.c: Update.
+ * windows-nat.c: Update.
+ * windows-tdep.c: Update.
+
+2018-07-03 Tom Tromey <tom@tromey.com>
+
+ * common/ptid.c (ptid_match): Remove.
+ * common/ptid.h (ptid_match): Don't declare.
+ * fbsd-nat.c: Update.
+ * infcmd.c: Update.
+ * infrun.c: Update.
+ * linux-nat.c: Update.
+ * record-btrace.c: Update.
+ * regcache.c: Update.
+ * remote.c: Update.
+
+2018-07-03 Tom Tromey <tom@tromey.com>
+
+ * common/ptid.c (ptid_tid_p): Remove.
+ * common/ptid.h (ptid_tid_p): Don't declare.
+ * sol-thread.c: Update.
+
+2018-07-03 Tom Tromey <tom@tromey.com>
+
+ * common/ptid.c (ptid_lwp_p): Remove.
+ * common/ptid.h (ptid_lwp_p): Don't declare.
+ * fbsd-nat.c: Update.
+ * linux-nat.c: Update.
+ * nat/linux-procfs.c: Update.
+ * nat/x86-linux-dregs.c: Update.
+ * sol-thread.c: Update.
+
+2018-07-03 Tom Tromey <tom@tromey.com>
+
+ * common/ptid.c (ptid_is_pid): Remove.
+ * common/ptid.h (ptid_is_pid): Don't declare.
+ * infrun.c: Update.
+ * linux-nat.c: Update.
+ * mi/mi-interp.c: Update.
+ * remote.c: Update.
+ * thread.c: Update.
+
+2018-07-03 Tom Tromey <tom@tromey.com>
+
+ * common/ptid.c (ptid_get_tid): Remove.
+ * common/ptid.h (ptid_get_tid): Don't declare.
+ * ada-tasks.c: Update.
+ * aix-thread.c: Update.
+ * bsd-uthread.c: Update.
+ * darwin-nat.c: Update.
+ * fbsd-nat.c: Update.
+ * i386-darwin-nat.c: Update.
+ * infrun.c: Update.
+ * linux-tdep.c: Update.
+ * nto-procfs.c: Update.
+ * ppc-ravenscar-thread.c: Update.
+ * python/py-infthread.c: Update.
+ * ravenscar-thread.c: Update.
+ * sol-thread.c: Update.
+ * sparc-ravenscar-thread.c: Update.
+ * windows-nat.c: Update.
+
+2018-07-03 Tom Tromey <tom@tromey.com>
+
+ * common/ptid.c (ptid_get_lwp): Remove.
+ * common/ptid.h (ptid_get_lwp): Don't declare.
+ * aarch64-linux-nat.c: Update.
+ * ada-tasks.c: Update.
+ * aix-thread.c: Update.
+ * amd64-linux-nat.c: Update.
+ * arm-linux-nat.c: Update.
+ * corelow.c: Update.
+ * fbsd-nat.c: Update.
+ * fbsd-tdep.c: Update.
+ * gnu-nat.c: Update.
+ * i386-cygwin-tdep.c: Update.
+ * i386-gnu-nat.c: Update.
+ * i386-linux-nat.c: Update.
+ * ia64-linux-nat.c: Update.
+ * inf-ptrace.c: Update.
+ * infrun.c: Update.
+ * linux-fork.c: Update.
+ * linux-nat.c: Update.
+ * linux-tdep.c: Update.
+ * linux-thread-db.c: Update.
+ * mips-linux-nat.c: Update.
+ * nat/aarch64-linux-hw-point.c: Update.
+ * nat/aarch64-linux.c: Update.
+ * nat/linux-btrace.c: Update.
+ * nat/linux-osdata.c: Update.
+ * nat/linux-procfs.c: Update.
+ * nat/x86-linux-dregs.c: Update.
+ * obsd-nat.c: Update.
+ * ppc-fbsd-nat.c: Update.
+ * ppc-linux-nat.c: Update.
+ * procfs.c: Update.
+ * python/py-infthread.c: Update.
+ * ravenscar-thread.c: Update.
+ * remote.c: Update.
+ * s390-linux-nat.c: Update.
+ * sol-thread.c: Update.
+ * sol2-tdep.c: Update.
+ * spu-linux-nat.c: Update.
+ * x86-linux-nat.c: Update.
+ * xtensa-linux-nat.c: Update.
+
+2018-07-03 Tom Tromey <tom@tromey.com>
+
+ * common/ptid.c (ptid_get_pid): Remove.
+ * common/ptid.h (ptid_get_pid): Don't declare.
+ * aarch64-linux-nat.c: Update.
+ * ada-lang.c: Update.
+ * aix-thread.c: Update.
+ * alpha-bsd-nat.c: Update.
+ * amd64-fbsd-nat.c: Update.
+ * amd64-linux-nat.c: Update.
+ * arm-linux-nat.c: Update.
+ * arm-nbsd-nat.c: Update.
+ * auxv.c: Update.
+ * break-catch-syscall.c: Update.
+ * breakpoint.c: Update.
+ * bsd-uthread.c: Update.
+ * corelow.c: Update.
+ * ctf.c: Update.
+ * darwin-nat.c: Update.
+ * fbsd-nat.c: Update.
+ * fbsd-tdep.c: Update.
+ * gcore.c: Update.
+ * gnu-nat.c: Update.
+ * hppa-nbsd-nat.c: Update.
+ * hppa-obsd-nat.c: Update.
+ * i386-fbsd-nat.c: Update.
+ * ia64-linux-nat.c: Update.
+ * inf-ptrace.c: Update.
+ * infcmd.c: Update.
+ * inferior.c: Update.
+ * inferior.h: Update.
+ * inflow.c: Update.
+ * infrun.c: Update.
+ * linux-fork.c: Update.
+ * linux-nat.c: Update.
+ * linux-tdep.c: Update.
+ * linux-thread-db.c: Update.
+ * m68k-bsd-nat.c: Update.
+ * mi/mi-interp.c: Update.
+ * mi/mi-main.c: Update.
+ * mips-linux-nat.c: Update.
+ * mips-nbsd-nat.c: Update.
+ * mips64-obsd-nat.c: Update.
+ * nat/aarch64-linux-hw-point.c: Update.
+ * nat/aarch64-linux.c: Update.
+ * nat/linux-btrace.c: Update.
+ * nat/linux-osdata.c: Update.
+ * nat/linux-procfs.c: Update.
+ * nat/x86-linux-dregs.c: Update.
+ * nto-procfs.c: Update.
+ * obsd-nat.c: Update.
+ * ppc-linux-nat.c: Update.
+ * ppc-nbsd-nat.c: Update.
+ * ppc-obsd-nat.c: Update.
+ * proc-service.c: Update.
+ * procfs.c: Update.
+ * python/py-inferior.c: Update.
+ * python/py-infthread.c: Update.
+ * ravenscar-thread.c: Update.
+ * record.c: Update.
+ * remote-sim.c: Update.
+ * remote.c: Update.
+ * rs6000-nat.c: Update.
+ * s390-linux-nat.c: Update.
+ * sh-nbsd-nat.c: Update.
+ * sol-thread.c: Update.
+ * sparc-nat.c: Update.
+ * sparc64-tdep.c: Update.
+ * spu-linux-nat.c: Update.
+ * spu-tdep.c: Update.
+ * target-debug.h: Update.
+ * target.c: Update.
+ * thread.c: Update.
+ * tid-parse.c: Update.
+ * tracefile-tfile.c: Update.
+ * vax-bsd-nat.c: Update.
+ * windows-nat.c: Update.
+ * x86-linux-nat.c: Update.
+ * x86-nat.c: Update.
+
+2018-07-03 Tom Tromey <tom@tromey.com>
+
+ * common/ptid.c (pid_to_ptid): Remove.
+ * common/ptid.h (pid_to_ptid): Don't declare.
+ * aix-thread.c: Update.
+ * arm-linux-nat.c: Update.
+ * common/ptid.c: Update.
+ * common/ptid.h: Update.
+ * corelow.c: Update.
+ * ctf.c: Update.
+ * darwin-nat.c: Update.
+ * fbsd-nat.c: Update.
+ * fork-child.c: Update.
+ * gnu-nat.c: Update.
+ * go32-nat.c: Update.
+ * inf-ptrace.c: Update.
+ * infcmd.c: Update.
+ * inferior.c: Update.
+ * infrun.c: Update.
+ * linux-fork.c: Update.
+ * linux-nat.c: Update.
+ * nat/aarch64-linux-hw-point.c: Update.
+ * nat/fork-inferior.c: Update.
+ * nat/x86-linux-dregs.c: Update.
+ * nto-procfs.c: Update.
+ * obsd-nat.c: Update.
+ * procfs.c: Update.
+ * progspace.c: Update.
+ * remote.c: Update.
+ * rs6000-nat.c: Update.
+ * s390-linux-nat.c: Update.
+ * sol-thread.c: Update.
+ * spu-linux-nat.c: Update.
+ * target.c: Update.
+ * top.c: Update.
+ * tracefile-tfile.c: Update.
+ * windows-nat.c: Update.
+
+2018-07-03 Tom Tromey <tom@tromey.com>
+
+ * common/ptid.h (ptid_build): Don't declare.
+ * common/ptid.c (ptid_build): Remove.
+ * aix-thread.c: Update.
+ * bsd-kvm.c: Update.
+ * bsd-uthread.c: Update.
+ * common/agent.c: Update.
+ * common/ptid.c: Update.
+ * common/ptid.h: Update.
+ * corelow.c: Update.
+ * darwin-nat.c: Update.
+ * fbsd-nat.c: Update.
+ * gnu-nat.c: Update.
+ * linux-fork.c: Update.
+ * linux-nat.c: Update.
+ * linux-thread-db.c: Update.
+ * nat/linux-osdata.c: Update.
+ * nat/linux-procfs.c: Update.
+ * nto-procfs.c: Update.
+ * obsd-nat.c: Update.
+ * proc-service.c: Update.
+ * procfs.c: Update.
+ * ravenscar-thread.c: Update.
+ * remote-sim.c: Update.
+ * remote.c: Update.
+ * sol-thread.c: Update.
+ * target.c: Update.
+ * windows-nat.c: Update.
+
+2018-07-03 Tom Tromey <tom@tromey.com>
+
+ * infrun.c (follow_exec): Use exit_inferior_silent.
+ * inferior.c (exit_inferior_num_silent): Remove.
+ * inferior.h (exit_inferior_num_silent): Don't declare.
+
+2018-07-03 Tom Tromey <tom@tromey.com>
+
+ PR cli/23340:
+ * darwin-nat.c (darwin_attach_pid): Reset inferior and
+ inferior_ptid on error.
+
+2018-07-02 Maciej W. Rozycki <macro@mips.com>
+ Simon Marchi <simon.marchi@polymtl.ca>
+
+ PR tdep/8282
+ * disasm.h (gdb_disassembler): Add
+ `m_disassembler_options_holder'. member
+ * disasm.c (get_all_disassembler_options): New function.
+ (gdb_disassembler::gdb_disassembler): Use it.
+ (gdb_buffered_insn_length_init_dis): Likewise.
+ (gdb_buffered_insn_length): Adjust accordingly.
+ (set_disassembler_options): Handle options with arguments.
+ (show_disassembler_options_sfunc): Likewise. Add a leading new
+ line if showing options with descriptions.
+ (disassembler_options_completer): Adapt to using the
+ `disasm_options_and_args_t' structure.
+ * mips-tdep.c (mips_disassembler_options): New variable.
+ (mips_disassembler_options_o32): Likewise.
+ (mips_disassembler_options_n32): Likewise.
+ (mips_disassembler_options_n64): Likewise.
+ (gdb_print_insn_mips): Don't set `disassembler_options'.
+ (gdb_print_insn_mips_n32, gdb_print_insn_mips_n64): Remove
+ functions.
+ (mips_gdbarch_init): Always set `gdbarch_print_insn' to
+ `gdb_print_insn_mips'. Set `gdbarch_disassembler_options',
+ `gdbarch_disassembler_options_implicit' and
+ `gdbarch_valid_disassembler_options'.
+ * arm-tdep.c (_initialize_arm_tdep): Adapt to using the
+ `disasm_options_and_args_t' structure.
+ * gdbarch.sh (disassembler_options_implicit): New `gdbarch'
+ method.
+ (valid_disassembler_options): Switch from `disasm_options_t' to
+ the `disasm_options_and_args_t' structure.
+ * NEWS: Document `set disassembler-options' support for the MIPS
+ target.
+ * gdbarch.h: Regenerate.
+ * gdbarch.c: Regenerate.
+
+2018-07-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * riscv-tdep.c (riscv_register_aliases): Swap "fp" and "s0" entries.
+
+2018-06-29 Joel Brobecker <brobecker@adacore.com>
+
+ * amd64-darwin-tdep.c (x86_darwin_init_abi_64): Add missing
+ parameter in call to amd64_target_description.
+ * amd64-dicos-tdep.c (amd64_dicos_init_abi): Likewise.
+ * amd64-fbsd-tdep.c (amd64fbsd_core_read_description)
+ (amd64fbsd_init_abi): Likewise.
+ * amd64-nbsd-tdep.c (amd64nbsd_init_abi): Likewise.
+ * amd64-obsd-tdep.c (amd64obsd_init_abi): Likewise.
+ * amd64-sol2-tdep.c (amd64_sol2_init_abi): Likewise.
+ * amd64-fbsd-nat.c (amd64_fbsd_nat_target): Likewise.
+
+2018-06-29 Pedro Alves <palves@redhat.com>
+
+ * gdb/amd64-tdep.h (amd64_create_target_description): Add
+ "segments" parameter.
+ * gdb/amd64-tdep.c (amd64_none_init_abi, amd64_x32_none_init_abi)
+ (_initialize_amd64_tdep): Update call to
+ amd64_create_target_description.
+ (amd64_target_description): Add "segments" parameter. Adjust
+ the implementation to use it.
+ * gdb/amd64-linux-tdep.c (amd64_linux_read_description): Update
+ call to amd64_create_target_description.
+ * gdb/amd64-windows-tdep.c (amd64_windows_init_abi): Likewise.
+ * gdb/arch/amd64.h (amd64_create_target_description): Add
+ "segments" register.
+ * gdb/arch/amd64.c (amd64_create_target_description): Add
+ "segments" parameter. Call create_feature_i386_64bit_segments
+ only if SEGMENTS is true.
+ * gdb/gdbserver/win32-i386-low.c (i386_arch_setup): Update
+ call to amd64_create_target_description.
+
+2018-06-29 Pedro Alves <palves@redhat.com>
+
+ * thread.c (thread_target_id_str): New, factored out from ...
+ (print_thread_info_1): ... here. Use it to compute the max
+ "Target Id" column width.
+
+2018-06-29 Pedro Alves <palves@redhat.com>
+
+ * remote.c (remote_target::extra_thread_info): Delete
+ 'display_buf' and 'n' locals. from the cache, regardless of
+ packet mechanims is in use. Use cache for qThreadExtra and qP
+ methods too.
+
2018-06-29 Pedro Alves <palves@redhat.com>
* blockframe.c (find_pc_sect_containing_function): New function.