Introduce and use make_unique_xstrdup
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index ec4d72f81f8738b9afdbc162fb96d4e01d682157..bc554bd89c29830269d6a7fb337b482767fefb55 100644 (file)
@@ -1,3 +1,293 @@
+2019-06-04  Pedro Alves  <palves@redhat.com>
+
+       * server.c (captured_main): Use make_unique_xstrdup.
+
+2019-06-02  Tom Tromey  <tom@tromey.com>
+
+       * gdbreplay.c (fromhex): Remove.
+       * Makefile.in (GDBREPLAY_OBS): Add rsp-low.o.
+
+2019-05-29  Tom Tromey  <tromey@adacore.com>
+
+       * configure: Rebuild.
+
+2019-05-06  Kevin Buettner  <kevinb@redhat.com>
+
+       * linux-x86-low.c (x86_fill_gregset): Don't compile 64-bit
+       sign extension code on 32-bit builds.
+
+2019-05-03  Eli Zaretskii  <eliz@gnu.org>
+
+       * remote-utils.c:
+       * gdbreplay.c [USE_WIN32API]: Remove the _WIN32_WINNT override.
+
+2019-04-19  Tom Tromey  <tom@tromey.com>
+
+       * server.c (struct vstop_notif): Derive from notif_event.
+       <base>: Remove.
+       (queue_stop_reply): Update.
+       (remove_all_on_match_ptid): Change type.  Rewrite.
+       (discard_queued_stop_replies): Rewrite.
+       (in_queued_stop_replies_ptid): Change type.
+       (in_queued_stop_replies): Rewrite.
+       (notif_stop): Update.
+       (queue_stop_reply_callback): Update.
+       (captured_main): Don't call initialize_notif.
+       (push_stop_notification): Update.
+       * notif.c (notif_write_event, handle_notif_ack)
+       (notif_event_enque, notif_push): Update.
+       (notif_event_xfree, initialize_notif): Remove.
+       * notif.h (struct notif_event): Include <list>, not
+       "common/queue.h".
+       (struct notif_server) <queue>: Now a std::list.
+       (notif_event_p): Remove typedef.
+       (initialize_notif): Don't declare.
+       (struct notif_event): Add virtual destructor.
+
+2019-04-17  Alan Hayward  <alan.hayward@arm.com>
+
+       * ax.c (ax_vdebug): Call debug_printf.
+       * debug.c (debug_write): New function.
+       * debug.h (debug_write): New declaration.
+       * linux-low.c (sigchld_handler): Call debug_write.
+
+2019-04-17  Alan Hayward  <alan.hayward@arm.com>
+
+       * debug.c (debug_set_output): New function.
+       (debug_vprintf): Send output to debug_file.
+       (debug_flush): Likewise.
+       * debug.h (debug_set_output): New declaration.
+       * server.c (handle_monitor_command): Add debug-file option.
+       (captured_main): Likewise.
+
+2019-04-17  Alan Hayward  <alan.hayward@arm.com>
+
+       * debug.c (remote_debug): Add definition.
+       * debug.h (remote_debug): Add declaration.
+       * hostio.c (remote_debug): Remove declaration.
+       * remote-utils.c (struct ui_file): Likewise.
+       (remote_debug): Likewise.
+       * remote-utils.h (remote_debug): Likewise,
+       * server.c (remote_debug): Remove definition.
+
+2019-04-10  Kevin Buettner  <kevinb@redhat.com>
+
+       * linux-x86-low.c (x86_fill_gregset): Sign extend EAX value
+       when using a 64-bit gdbserver.
+
+2019-04-09  Tom Tromey  <tromey@adacore.com>
+
+       * linux-low.c (select_event_lwp): Use find_thread_in_random.
+
+2019-04-08  Tom Tromey  <tom@tromey.com>
+
+       * linux-low.c (linux_detach_one_lwp): Replace throw_exception with
+       throw.
+       (linux_resume_one_lwp): Likewise.
+
+2019-04-08  Tom Tromey  <tom@tromey.com>
+
+       * gdbreplay.c: Update.
+       * linux-low.c: Update.
+       * server.c: Update.
+
+2019-04-08  Tom Tromey  <tom@tromey.com>
+
+       * server.c: Use C++ exception handling.
+       * linux-low.c: Use C++ exception handling.
+       * gdbreplay.c: Use C++ exception handling.
+
+2019-04-08  Tom Tromey  <tom@tromey.com>
+
+       * server.c (handle_btrace_general_set, handle_qxfer_btrace)
+       (handle_qxfer_btrace_conf, detach_or_kill_for_exit_cleanup)
+       (captured_main, main): Update.
+       * gdbreplay.c (main): Update.
+
+2019-04-05  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
+
+       * linux-low.c (linux_get_auxv): Remove static.  Return auxv entry
+       value in argument pointer, return 1 if the entry is found and 0
+       otherwise.  Move comment.
+       (linux_get_hwcap, linux_get_hwcap2): Use modified linux_get_auxv.
+       * linux-low.h (linux_get_auxv): Declare.
+       * linux-ppc-low.c (is_elfv2_inferior): Use linux_get_auxv.
+
+2019-04-05  Tom Tromey  <tromey@adacore.com>
+
+       * server.c (gdbserver_usage): Use upper-case for metasyntactic
+       variables.
+
+2019-03-28  Alan Hayward  <alan.hayward@arm.com>
+
+       * linux-low.c (AT_HWCAP2): Add define if not already included.
+
+2019-03-26  Alan Hayward  <alan.hayward@arm.com>
+
+       * linux-aarch64-low.c (aarch64_get_hwcap): Remove function.
+       (aarch64_arch_setup): Call linux_get_hwcap.
+       * linux-arm-low.c (arm_get_hwcap): Remove function.
+       (arm_read_description): Call linux_get_hwcap.
+       * linux-low.c (linux_get_auxv): New function.
+       (linux_get_hwcap): Likewise.
+       (linux_get_hwcap2): Likewise.
+       * linux-low.h (linux_get_hwcap): New declaration.
+       (linux_get_hwcap2): Likewise.
+       * linux-ppc-low.c (ppc_get_auxv): Remove function.
+       (ppc_arch_setup): Call linux_get_hwcap.
+       * linux-s390-low.c (s390_get_hwcap): Remove function.
+       (s390_arch_setup): Call linux_get_hwcap.
+
+2019-03-22  Alan Hayward  <alan.hayward@arm.com>
+           Jiong Wang  <jiong.wang@arm.com>
+
+       * linux-aarch64-low.c (aarch64_store_pauthregset): New function.
+       * linux-low.c (regsets_store_inferior_registers): Allow optional reads
+       to fail.
+       * linux-low.h (enum regset_type): Add OPTIONAL_REGS.
+
+2019-03-22  Alan Hayward  <alan.hayward@arm.com>
+           Jiong Wang  <jiong.wang@arm.com>
+
+       * linux-aarch64-low.c (AARCH64_HWCAP_PACA): New define.
+       (aarch64_get_hwcap): New function.
+       (aarch64_arch_setup): Read APIA hwcap.
+
+2019-03-22  Alan Hayward  <alan.hayward@arm.com>
+           Jiong Wang  <jiong.wang@arm.com>
+
+       * linux-aarch64-ipa.c (get_ipa_tdesc): Add pauth param.
+       (initialize_low_tracepoint): Likewise.
+       * linux-aarch64-low.c (aarch64_arch_setup): Likewise.
+       * linux-aarch64-tdesc-selftest.c (aarch64_tdesc_test): Likewise.
+       * linux-aarch64-tdesc.c (struct target_desc): Likewise.
+       (aarch64_linux_read_description): Likewise.
+       * linux-aarch64-tdesc.h (aarch64_linux_read_description): Likewise.
+
+2019-03-12  John Baldwin  <jhb@FreeBSD.org>
+
+       * linux-x86-tdesc.c (i386_linux_read_description): Update call to
+       i386_create_target_description for 'segments' parameter.
+       * lynx-i386-low.c (lynx_i386_arch_setup): Likewise.
+       * nto-x86-low.c (nto_x86_arch_setup): Likewise.
+       * win32-i386-low.c (i386_arch_setup): Likewise.
+
+2019-03-12  Tom Tromey  <tromey@adacore.com>
+
+       * linux-low.c (iterate_over_lwps): Update.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * server.c (detach_or_kill_for_exit_cleanup): Remove parameter.
+       (captured_main): Use SCOPE_EXIT.
+
+2019-03-04  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * configure.srv: Use '$enable_unittest' instead of '$development'
+       when checking whether to fill 'srv_regobj' on 'aarch64*-*-linux*'
+       case.
+
+2019-02-27  Tom Tromey  <tromey@adacore.com>
+
+       * gdbreplay.c (logchar): Handle \r\n.
+
+2019-02-07  Alan Hayward  <alan.hayward@arm.com>
+
+       * linux-low.c (linux_attach): Add process before lwp.
+       * server.c (attach_inferior): Check if already attached.
+
+2019-02-07  Tom Tromey  <tom@tromey.com>
+
+       * x86-tdesc.h: Rename include guard.
+       * x86-low.h: Add include guard.
+       * wincecompat.h: Rename include guard.
+       * win32-low.h: Add include guard.
+       * utils.h: Rename include guard.
+       * tracepoint.h: Rename include guard.
+       * tdesc.h: Rename include guard.
+       * target.h: Rename include guard.
+       * server.h: Rename include guard.
+       * remote-utils.h: Rename include guard.
+       * regcache.h: Rename include guard.
+       * nto-low.h: Rename include guard.
+       * notif.h: Add include guard.
+       * mem-break.h: Rename include guard.
+       * lynx-low.h: Add include guard.
+       * linux-x86-tdesc.h: Add include guard.
+       * linux-s390-tdesc.h: Add include guard.
+       * linux-ppc-tdesc-init.h: Add include guard.
+       * linux-low.h: Add include guard.
+       * linux-aarch64-tdesc.h: Add include guard.
+       * linux-aarch32-low.h: Add include guard.
+       * inferiors.h: Rename include guard.
+       * i387-fp.h: Rename include guard.
+       * hostio.h: Rename include guard.
+       * gdbthread.h: Rename include guard.
+       * gdb_proc_service.h: Rename include guard.
+       * event-loop.h: Rename include guard.
+       * dll.h: Rename include guard.
+       * debug.h: Rename include guard.
+       * ax.h: Rename include guard.
+
+2018-01-30  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       PR gdb/23985
+       * Makefile.in (IPAGENT_CFLAGS): Add UNDO_GNULIB_CFLAGS.
+       (UNDO_GNULIB_CFLAGS): Undo gnulib replacements.
+
+2019-01-25  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (INCLUDE_CFLAGS): Don't add -I for common.
+
+2019-01-25  Tom Tromey  <tom@tromey.com>
+
+       * win32-low.c: Fix common/ includes.
+       * win32-i386-low.c: Fix common/ includes.
+       * tracepoint.c: Fix common/ includes.
+       * thread-db.c: Fix common/ includes.
+       * target.h: Fix common/ includes.
+       * symbol.c: Fix common/ includes.
+       * spu-low.c: Fix common/ includes.
+       * server.h: Fix common/ includes.
+       * server.c: Fix common/ includes.
+       * remote-utils.c: Fix common/ includes.
+       * regcache.h: Fix common/ includes.
+       * regcache.c: Fix common/ includes.
+       * nto-x86-low.c: Fix common/ includes.
+       * notif.h: Fix common/ includes.
+       * mem-break.h: Fix common/ includes.
+       * lynx-low.c: Fix common/ includes.
+       * lynx-i386-low.c: Fix common/ includes.
+       * linux-x86-tdesc-selftest.c: Fix common/ includes.
+       * linux-x86-low.c: Fix common/ includes.
+       * linux-low.c: Fix common/ includes.
+       * inferiors.h: Fix common/ includes.
+       * i387-fp.c: Fix common/ includes.
+       * hostio.c: Fix common/ includes.
+       * hostio-errno.c: Fix common/ includes.
+       * gdbthread.h: Fix common/ includes.
+       * gdbreplay.c: Fix common/ includes.
+       * fork-child.c: Fix common/ includes.
+       * event-loop.c: Fix common/ includes.
+       * ax.c: 
+       (enum gdb_agent_op): Fix common/ includes.
+
+2019-01-21  Tom Tromey  <tom@tromey.com>
+
+       * tracepoint.c: Fix includes.
+       * remote-utils.c: Fix includes.
+       * linux-x86-low.c: Fix includes.
+
+2019-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbreplay.c (gdbreplay_version): Update copyright year in
+       version message.
+       * server.c (gdbserver_version): Likewise.
+
+2018-12-05  Alan Hayward  <alan.hayward@arm.com>
+
+       * linux-low.c (add_lwp): Switch ordering.
+
 2018-11-29  Tom Tromey  <tom@tromey.com>
 
        * win32-low.c (win32_join): Take pid, not process.
This page took 0.0311900000000001 seconds and 4 git commands to generate.