S390: Fix displaced stepping of "basr r,0"
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a125b72e42039dd3b1980f0f0a097c84bd6f7a5c..7b808eb3a7601140f707fb9a232791f93aa8bb5b 100644 (file)
@@ -1,3 +1,780 @@
+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>
+
+       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.
+       * breakpoint.c (print_breakpoint_location): Don't call
+       find_pc_sect_function.
+       * linespec.c (create_sals_line_offset): Record the location's
+       symbol in the sal.
+       * linespec.c (convert_address_location_to_sals): Fill in sal's
+       symbol with find_pc_sect_containing_function.
+       * symtab.c (find_function_start_sal): Rename to ...
+       (find_function_start_sal_1): ... this.
+       (find_function_start_sal): Reimplement as wrapper around
+       find_function_start_sal_1, and use
+       find_pc_sect_containing_function to fill in the sal's symbol.
+       (find_function_start_sal(symbol*, bool)): Adjust.
+       * symtab.h (find_pc_function, find_pc_sect_function): Adjust
+       comments.
+       (find_pc_sect_containing_function): Declare.
+
+2018-06-29  Pedro Alves  <palves@redhat.com>
+
+       * inline-frame.c (stopped_by_user_bp_inline_frame): Return
+       true if the the location has no symbol.
+
+2018-06-28  Tom Tromey  <tom@tromey.com>
+
+       * NEWS: Mention --enable-codesign.
+       * silent-rules.mk (ECHO_SIGN): New variable.
+       * configure.ac: Add --enable-codesign.
+       * configure: Rebuild.
+       * Makefile.in (CODESIGN, CODESIGN_CERT): New variables.
+       (gdb$(EXEEXT)): Optionally invoke codesign.
+
+2018-06-28  Pedro Alves  <palves@redhat.com>
+
+       * gdbthread.h (struct thread_suspend_state) <stop_pc>: Extend
+       comments.
+       (switch_to_thread_no_regs): Adjust comment.
+       * infcmd.c (stop_pc): Delete.
+       (post_create_inferior, info_program_command): Replace references
+       to stop_pc with references to thread_info->suspend.stop_pc.
+       * inferior.h (stop_pc): Delete declaration.
+       * infrun.c (proceed, handle_syscall_event, fill_in_stop_func)
+       (handle_inferior_event_1, handle_signal_stop)
+       (process_event_stop_test, keep_going_stepped_thread)
+       (handle_step_into_function, handle_step_into_function_backward)
+       (print_stop_location): Replace references to stop_pc with
+       references to thread_info->suspend.stop_pc.
+       (struct infcall_suspend_state) <stop_pc>: Delete field.
+       (save_infcall_suspend_state, restore_infcall_suspend_state):
+       Remove references to inf_stat->stop_pc.
+       * linux-fork.c (fork_load_infrun_state): Likewise.
+       * record-btrace.c (record_btrace_set_replay): Likewise.
+       * record-full.c (record_full_goto_entry): Likewise.
+       * remote.c (print_one_stopped_thread): Likewise.
+       * target.c (target_resume): Extend comment.
+       * thread.c (set_executing_thread): New.
+       (set_executing): Use it.
+       (switch_to_thread_no_regs, switch_to_no_thread, switch_to_thread):
+       Remove references to stop_pc.
+
+2018-06-28  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (handle_inferior_event_1) <TARGET_WAITKIND_EXECD>:
+       Moving fetching stop_pc until after ecs->event_thread is refreshed.
+
+2018-06-28  Tom Tromey  <tom@tromey.com>
+
+       * coffread.c (coff_symfile_finish): Update.
+       * xcoffread.c (xcoff_symfile_finish): Update.
+       * elfread.c (elf_symfile_finish): Update.
+       * symfile.h (dwarf2_free_objfile): Don't declare.
+       * dwarf2read.c (_initialize_dwarf2_read): Use
+       register_objfile_data_with_cleanup.
+       (dwarf2_free_objfile): Now static.  Change signature.
+
+2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
+
+       * symfile.c (add_symbol_file_command, _initialize_symfile): Add
+       option "-o" to add-symbol-file-load to add an offset to each
+       section's load address.
+       * symfile.c (set_objfile_default_section_offset): New function.
+
+2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
+
+       * symfile.c (add_symbol_file_command): Make sure that sections
+       with the same name are sorted in the same order.
+
+2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
+
+       * symfile.c (add_symbol_file_command, _initialize_symfile): Do not
+       require the second argument.  If omitted, load sections at the
+       addresses specified in the file.
+
+2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
+
+       * symfile.c (symbol_file_command, symbol_file_add_main_1)
+       (_initialize_symfile): Add option "-o" to symbol-file to add an
+       offset to each section of the symbol file.
+
+2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
+
+       * MAINTAINERS (Write After Approval): Add Petr Tesarik.
+
+2018-06-27  Tom Tromey  <tom@tromey.com>
+
+       * stack.c (_initialize_stack): Update "func" help text.
+
+2018-06-27  Tom Tromey  <tom@tromey.com>
+
+       * python/py-unwind.c (unwind_info_object) <saved_regs>: Now a
+       std::vector.
+       (unwind_infopy_str, pyuw_create_unwind_info)
+       (unwind_infopy_add_saved_register, pyuw_sniffer)
+       (unwind_infopy_dealloc, unwind_infopy_add_saved_register):
+       Update.
+       (struct saved_reg): Add constructor.
+       <value>: Now a gdbpy_ref<>.
+
 2018-06-27  Tom Tromey  <tom@tromey.com>
 
        * machoread.c (macho_symfile_read): Define "symbol_table" earlier.
This page took 0.031638 seconds and 4 git commands to generate.