[gdb, hurd] Adjust to Hurd "proc" interface changes
[binutils-gdb.git] / gdb / ChangeLog
index 34fe174cb2ada20a66a27a92a9d8bccc4907f242..f2bbd77558dd374c12e6626996d7685c96edc9a9 100644 (file)
@@ -1,3 +1,37 @@
+2019-02-14  David Michael  <fedora.dm0@gmail.com>
+           Samuel Thibault  <samuel.thibault@gnu.org>
+           Thomas Schwinge  <thomas@codesourcery.com>
+
+       * gnu-nat.c (S_proc_getmsgport_reply, S_proc_task2proc_reply)
+       (S_proc_pid2proc_reply): Adjust to Hurd "proc" interface changes.
+
+2019-02-14  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * gnu-nat.c (gnu_write_inferior, parse_int_arg, _parse_bool_arg)
+       (check_empty): Use "const char *".
+
+       * gnu-nat.c (gnu_nat_target::detach): Instead of
+       'detach_inferior (pid)' call
+       'detach_inferior (find_inferior_pid (pid))'.
+
+       * configure.nat [gdb_host == i386gnu] (NATDEPFILES): Add
+       'nat/fork-inferior.o'.
+       * gnu-nat.c: #include "nat/fork-inferior.h".
+
+       * gnu-nat.c (gnu_nat_target::detach): Instead of
+       'inf_child_maybe_unpush_target (ops)' call 'maybe_unpush_target'.
+       * gnu-nat.h: #include "inf-child.h".
+       * i386-gnu-nat.c (gnu_fetch_registers): Rename/move to
+       'i386_gnu_nat_target::fetch_registers'.
+       (gnu_store_registers): Rename/move to
+       'i386_gnu_nat_target::store_registers'.
+
+       * config/i386/nm-i386gnu.h: Don't "#include" any files.
+       * gnu-nat.h (mach_thread_info): New function.
+       * gnu-nat.c (thread_takeover_sc_cmd): Use it.
+
+       * config/i386/nm-i386gnu.h (gnu_target_pid_to_str): Remove.
+
 2019-02-14  Frederic Konrad  <konrad@adacore.com>
 
        * riscv-rdep.c (riscv_type_alignment): Handle TYPE_CODE_RANGE.