diff options
author | Gary Benson <gbenson@redhat.com> | 2015-06-10 14:28:44 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2015-06-10 14:28:44 +0100 |
commit | 15a201c844e770d3c6edf174b9ef6596fbae7eb2 (patch) | |
tree | 3256ab18ea0ef36a50bdfb7edfeb948f040d5588 /gdb/NEWS | |
parent | 7a6a173129107538574949116c0ce1c0ead589b4 (diff) | |
download | gdb-15a201c844e770d3c6edf174b9ef6596fbae7eb2.zip gdb-15a201c844e770d3c6edf174b9ef6596fbae7eb2.tar.gz gdb-15a201c844e770d3c6edf174b9ef6596fbae7eb2.tar.bz2 |
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) <fs_pid>: 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.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -174,6 +174,12 @@ qXfer:exec-file:read Return the full absolute name of the file that was executed to create a process running on the remote system. +vFile:setfs: + Select the filesystem on which vFile: operations with filename + arguments will operate. This is required for GDB to be able to + access files on remote targets where the remote stub does not + share a common filesystem with the inferior(s). + fork stop reason Indicates that a fork system call was executed. |