From 15a201c844e770d3c6edf174b9ef6596fbae7eb2 Mon Sep 17 00:00:00 2001 From: Gary Benson Date: Wed, 10 Jun 2015 14:28:44 +0100 Subject: Implement multiple-filesystem support for remote targets This commit allows GDB to access executables and shared libraries on remote targets where the remote stub does not share a common filesystem with the inferior(s). A new packet "vFile:setfs" is added to the remote protocol and the three remote hostio functions with filename arguments are modified to send "vFile:setfs" packets as necessary. gdb/ChangeLog: * remote.c (struct remote_state) : New field. (new_remote_state): Initialize the above. (PACKET_vFile_setfs): New enum value. (remote_hostio_set_filesystem): New function. (remote_hostio_open): Call the above. (remote_hostio_unlink): Likewise. (remote_hostio_readlink): Likewise. (_initialize_remote): Register new "set/show remote hostio-setfs-packet" command. * NEWS: Announce new vFile:setfs packet. gdb/doc/ChangeLog: * gdb.texinfo (Remote Configuration): Document the "set/show remote hostio-setfs-packet" command. (Host I/O Packets): Document the vFile:setfs packet. --- gdb/doc/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdb/doc/ChangeLog') diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index a9a8137..9264cfa 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,11 @@ 2015-06-10 Gary Benson + * gdb.texinfo (Remote Configuration): Document the + "set/show remote hostio-setfs-packet" command. + (Host I/O Packets): Document the vFile:setfs packet. + +2015-06-10 Gary Benson + * gdb.texinfo (Debugging Output): Document the "set/show debug linux-namespaces" command. -- cgit v1.1