Implement vFile:setfs in gdbserver
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index cb21f4b989af6b670b23da157090e218e7511a08..5c3e44f720e8130099d6127fb82318e11d866c57 100644 (file)
@@ -1,3 +1,23 @@
+2015-06-10  Gary Benson  <gbenson@redhat.com>
+
+       * target.h (struct target_ops) <multifs_open>: New field.
+       <multifs_unlink>: Likewise.
+       <multifs_readlink>: Likewise.
+       * linux-low.c (nat/linux-namespaces.h): New include.
+       (linux_target_ops): Initialize the_target->multifs_open,
+       the_target->multifs_unlink and the_target->multifs_readlink.
+       * hostio.h (hostio_handle_new_gdb_connection): New declaration.
+       * hostio.c (hostio_fs_pid): New static variable.
+       (hostio_handle_new_gdb_connection): New function.
+       (handle_setfs): Likewise.
+       (handle_open): Use the_target->multifs_open as appropriate.
+       (handle_unlink): Use the_target->multifs_unlink as appropriate.
+       (handle_readlink): Use the_target->multifs_readlink as
+       appropriate.
+       (handle_vFile): Handle vFile:setfs packets.
+       * server.c (handle_query): Call hostio_handle_new_gdb_connection
+       after target_handle_new_gdb_connection.
+
 2015-06-10  Gary Benson  <gbenson@redhat.com>
 
        * configure.ac (AC_CHECK_FUNCS): Add setns.
This page took 0.036627 seconds and 4 git commands to generate.