diff options
author | Gary Benson <gbenson@redhat.com> | 2015-03-18 11:19:02 +0000 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2015-03-18 11:19:02 +0000 |
commit | 464b0089f0068838a014a8fa27ea2eef536ebada (patch) | |
tree | f59a44eb419f46836d9bdbf88cd4a2c488291afd /gdb/doc | |
parent | f68f11b76de09dcb0d399814127fbf5227fe8245 (diff) | |
download | gdb-464b0089f0068838a014a8fa27ea2eef536ebada.zip gdb-464b0089f0068838a014a8fa27ea2eef536ebada.tar.gz gdb-464b0089f0068838a014a8fa27ea2eef536ebada.tar.bz2 |
Reimplement "vFile:fstat" without qSupported
This commit makes support for the "vFile:fstat" packet be detected
by probing rather than using qSupported, for consistency with the
other vFile: packets.
gdb/ChangeLog:
(remote_protocol_features): Remove the "vFile:fstat" feature.
(remote_hostio_fstat): Probe for "vFile:fstat" support.
gdb/doc/ChangeLog:
* gdb.texinfo (General Query Packets): Remove documentation
for now-removed vFile:fstat qSupported features.
gdb/gdbserver/ChangeLog:
* server.c (handle_query): Do not report vFile:fstat as supported.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 12 |
2 files changed, 5 insertions, 12 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 5efb060..1f120da 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2015-03-18 Gary Benson <gbenson@redhat.com> + + * gdb.texinfo (General Query Packets): Remove documentation + for now-removed vFile:fstat qSupported features. + 2015-03-11 Gary Benson <gbenson@redhat.com> * gdb.texinfo (Remote Configuration): Document the diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 9e71642..552da31 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -36062,11 +36062,6 @@ These are the currently defined stub features and their properties: @tab @samp{-} @tab No -@item @samp{vFile:fstat} -@tab No -@tab @samp{-} -@tab No - @end multitable These are the currently defined stub features, in more detail: @@ -36255,9 +36250,6 @@ breakpoints. The remote stub reports the @samp{hwbreak} stop reason for hardware breakpoints. -@item vFile:fstat -The remote stub understands the @samp{vFile:fstat} packet. - @end table @item qSymbol:: @@ -37426,10 +37418,6 @@ and the return value is the size of this attachment in bytes. If an error occurs the return value is -1. The format of the returned binary attachment is as described in @ref{struct stat}. -This packet is not probed by default; the remote stub must request -it, by supplying an appropriate @samp{qSupported} response -(@pxref{qSupported}). - @item vFile:unlink: @var{filename} Delete the file at @var{filename} on the target. Return 0, or -1 if an error occurs. The @var{filename} is a string. |