+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-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>