GDBserver: Pass process_info pointer to target_detach and target_join
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index a59999a217a734e9e66330fe7e098f31bedc2e9a..a5cf8cff8ddd21374c75c2dd0574627205294758 100644 (file)
@@ -1,3 +1,63 @@
+2018-07-13  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (linux_detach, linux_join): Change parameter to
+       process_info pointer instead of pid.  Adjust.
+       * lynx-low.c (lynx_detach, lynx_join): Likewise.
+       * nto-low.c (nto_detach): Likewise.
+       * spu-low.c (spu_detach, spu_join): Likewise.
+       * win32-low.c (win32_detach, win32_join): Likewise.
+       * server.c (handle_detach, detach_or_kill_for_exit): Adjust.
+       * target.h (struct target_ops) <detach, join>: Change parameter to
+       process_info pointer instead of pid.  Adjust all implementations
+       and callers.
+       (detach_inferior, join_inferior): Rename 'pid' parameter to
+       'proc'.
+
+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>
+
+       * Makefile.in (SFILES): Add '$(srcdir)/common/netstuff.c'.
+       (OBS): Add 'common/netstuff.o'.
+       (GDBREPLAY_OBS): Likewise.
+       * gdbreplay.c: Include 'wspiapi.h' and 'netstuff.h'.
+       (remote_open): Implement support for IPv6
+       connections.
+       * remote-utils.c: Include 'netstuff.h', 'filestuff.h'
+       and 'wspiapi.h'.
+       (handle_accept_event): Accept connections from IPv6 sources.
+       (remote_prepare): Handle IPv6-style hostnames; implement
+       support for IPv6 connections.
+       (remote_open): Implement support for printing connections from
+       IPv6 sources.
+
+2018-07-11  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/23377
+       * mem-break.c (any_persistent_commands): Add process_info
+       parameter and use it instead of relying on the current process.
+       Change return type to bool.
+       * mem-break.h (any_persistent_commands): Add process_info
+       parameter and change return type to bool.
+       * server.c (handle_detach): Remove require_running_or_return call.
+       Look up the process_info for the process we're about to detach.
+       If not found, return back error to GDB.  Adjust
+       any_persistent_commands call to pass down a process pointer.
+
+2018-07-11  Pedro Alves  <palves@redhat.com>
+
+       * i387-fp.c (i387_cache_to_fsave, cache_to_fxsave)
+       (i387_cache_to_xsave): Use regcache_raw_get_unsigned_by_name
+       instead of collect_register_by_name.
+       * regcache.c (regcache_raw_get_unsigned_by_name): New.
+       * regcache.h (regcache_raw_get_unsigned_by_name): New.
+
+2018-07-04  Vyacheslav Barinov  <v.barinov@samsung.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (initialize_low): Call linux_proc_init_warnings.
+
 2018-07-03  Tom Tromey  <tom@tromey.com>
 
        * linux-low.c: Update.
This page took 0.029291 seconds and 4 git commands to generate.