gdb: introduce displaced_step_closure_up type alias
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 6174da4e8da73cf0a0ce49b43195343add3a5624..adf86d546ec88eaefb9b03d44a0816ac59be8511 100644 (file)
@@ -1,3 +1,159 @@
+2020-02-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * aarch64-tdep.c (aarch64_displaced_step_copy_insn): Use
+       displaced_step_closure_up.
+       * aarch64-tdep.h (aarch64_displaced_step_copy_insn): Likewise.
+       (struct displaced_step_closure_up):
+       * amd64-tdep.c (amd64_displaced_step_copy_insn): Likewise.
+       * amd64-tdep.h (amd64_displaced_step_copy_insn): Likewise.
+       * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn):
+       Likewise.
+       * gdbarch.sh (displaced_step_copy_insn): Likewise.
+       * gdbarch.c, gdbarch.h: Re-generate.
+       * i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Use
+       displaced_step_closure_up.
+       * i386-tdep.c (i386_displaced_step_copy_insn): Likewise.
+       * i386-tdep.h (i386_displaced_step_copy_insn): Likewise.
+       * infrun.h (displaced_step_closure_up): New type alias.
+       (struct displaced_step_inferior_state) <step_closure>: Change
+       type to displaced_step_closure_up.
+       * rs6000-tdep.c (ppc_displaced_step_copy_insn): Use
+       displaced_step_closure_up.
+       * s390-tdep.c (s390_displaced_step_copy_insn): Likewise.
+
+2020-02-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbarch.sh (displaced_step_copy_insn): Change return type to an
+       std::unique_ptr.
+       * gdbarch.c: Re-generate.
+       * gdbarch.h: Re-generate.
+       * infrun.c (displaced_step_prepare_throw): Adjust to std::unique_ptr
+       change.
+       * aarch64-tdep.c (aarch64_displaced_step_copy_insn): Change return
+       type to std::unique_ptr.
+       * aarch64-tdep.h (aarch64_displaced_step_copy_insn): Likewise.
+       * amd64-tdep.c (amd64_displaced_step_copy_insn): Likewise.
+       * amd64-tdep.h (amd64_displaced_step_copy_insn): Likewise.
+       * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Likewise.
+       * i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Likewise.
+       * i386-tdep.c (i386_displaced_step_copy_insn): Likewise.
+       * i386-tdep.h (i386_displaced_step_copy_insn): Likewise.
+       * rs6000-tdep.c (ppc_displaced_step_copy_insn): Likewise.
+       * s390-tdep.c (s390_displaced_step_copy_insn): Likewise.
+
+2020-02-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * infrun.c (get_displaced_step_closure_by_addr): Adjust to
+       std::unique_ptr.
+       (displaced_step_clear): Rename to...
+       (displaced_step_reset): ... this.  Just call displaced->reset ().
+       (displaced_step_clear_cleanup): Rename to...
+       (displaced_step_reset_cleanup): ... this.
+       (displaced_step_prepare_throw): Adjust to std::unique_ptr.
+       (displaced_step_fixup): Likewise.
+       (resume_1): Likewise.
+       (handle_inferior_event): Restore child's memory before calling
+       displaced_step_fixup on the parent.
+       * infrun.h (displaced_step_inferior_state) <reset>: Adjust
+       to std::unique_ptr.
+       <step_closure>: Change type to std::unique_ptr.
+
+2020-02-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * version.in: Set GDB version number to 9.1.
+
+2020-02-05  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       PR gdb/25190:
+        * gdb/remote-sim.c (gdb_os_write_stderr): Update.
+        * gdb/remote.c (remote_console_output): Update.
+        * gdb/ui-file.c (fputs_unfiltered): Rename to...
+        (ui_file_puts): ...this.
+        * gdb/ui-file.h (ui_file_puts): Add declaration.
+        * gdb/utils.c (emit_style_escape): Update.
+        (flush_wrap_buffer): Update.
+        (fputs_maybe_filtered): Update.
+        (fputs_unfiltered): Add function.
+
+2020-02-05  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+        * gdb/event-loop.c (gdb_wait_for_event): Update.
+        * gdb/printcmd.c (printf_command): Update.
+        * gdb/remote-fileio.c (remote_fileio_func_write): Update.
+        * gdb/remote-sim.c (gdb_os_flush_stdout): Update.
+        (gdb_os_flush_stderr): Update.
+        * gdb/remote.c (remote_console_output): Update.
+        * gdb/ui-file.c (gdb_flush): Rename to...
+        (ui_file_flush): ...this.
+        (stderr_file::write): Update.
+        (stderr_file::puts): Update.
+        * gdb/ui-file.h (gdb_flush): Rename to...
+        (ui_file_flush): ...this.
+        * gdb/utils.c (gdb_flush): Add function.
+        * gdb/utils.h (gdb_flush): Add declaration.
+
+2020-02-07  Tom Tromey  <tromey@adacore.com>
+
+       PR breakpoints/24915:
+       * source.c (find_and_open_source): Do not check basenames_may_differ.
+
+2020-01-10  Christian Biesinger  <cbiesinger@google.com>
+
+       * gdbsupport/common-defs.h: Don't define _FORTIFY_SOURCE on MinGW.
+
+2020-01-07  Tom Tromey  <tromey@adacore.com>
+
+       PR build/24937:
+       * stap-probe.c (class stap_static_probe_ops): Add constructor.
+
+2020-01-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * stack.c (print_frame_info): Move disassemble_next_line code
+       inside source_print block.
+
+2020-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbarch.sh: Update copyright year range of generated files.
+
+2020-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       Update copyright year range in all the GDB files automatically
+       handled by our copyright.py script.
+
+2020-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * copyright.py: Convert to Python 3.
+
+2020-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * copyright.py: Adapt after move of gnulib directory from gdb
+       directory to toplevel directory.
+
+2020-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * copyright.py (main): Exit if run from the wrong directory.
+
+2020-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * top.c (print_gdb_version): Change copyright year to 2020.
+
+2019-12-26  Christian Biesinger  <cbiesinger@google.com>
+
+       * configure: Regenerate.
+       * configure.ac: Quote variable arguments of test.
+       * gdbsupport/common.m4: Likewise.
+
+2019-12-21  Eli Zaretskii  <eliz@gnu.org>
+
+       * top.c (print_gdb_configuration): Print "--with-xxhash" or
+       "--without-xxhash" according to HAVE_LIBXXHASH.
+
+2019-12-18  Tom Tromey  <tromey@adacore.com>
+
+       PR build/25268:
+       * gdbsupport/thread-pool.c (set_thread_name): Expect "int" return
+       type on macOS.  Add comment.
+
 2019-12-18  Tom Tromey  <tromey@adacore.com>
 
        PR build/25250:
This page took 0.027823 seconds and 4 git commands to generate.