diff options
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 8afb2e5..000f3c8 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2017-05-22 Andrew Burgess <andrew.burgess@embecosm.com> + + * gdb.texinfo (Packets): Document vMustReplyEmpty packet. + 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com> * python.texi (Recording in Python): Factor out the documentation of diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index f2e6156..9fb70f6 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -35827,6 +35827,19 @@ for an error for success @end table +@item vMustReplyEmpty +@cindex @samp{vMustReplyEmpty} packet +The correct reply to an unknown @samp{v} packet is to return the empty +string, however, some older versions of @command{gdbserver} would +incorrectly return @samp{OK} for unknown @samp{v} packets. + +The @samp{vMustReplyEmpty} is used as a feature test to check how +@command{gdbserver} handles unknown packets, it is important that this +packet be handled in the same way as other unknown @samp{v} packets. +If this packet is handled differently to other unknown @samp{v} +packets then it is possile that @value{GDBN} may run into problems in +other areas, specifically around use of @samp{vFile:setfs:}. + @item vRun;@var{filename}@r{[};@var{argument}@r{]}@dots{} @cindex @samp{vRun} packet Run the program @var{filename}, passing it each @var{argument} on its |