This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Add index entry for "empty response"
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gdb-patches at sourceware dot org
- Date: Fri, 31 Mar 2006 17:16:48 +0300
- Subject: [commit] Add index entry for "empty response"
- References: <20060314021526.GA802@nevyn.them.org> <20060321051221.GA15578@nevyn.them.org> <20060330215247.GA9062@nevyn.them.org> <u64lvaw2t.fsf@gnu.org> <20060331135859.GA27522@nevyn.them.org> <uvetuaep4.fsf@gnu.org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 31 Mar 2006 17:09:27 +0300
> From: Eli Zaretskii <eliz@gnu.org>
>
> > Date: Fri, 31 Mar 2006 08:58:59 -0500
> > From: Daniel Jacobowitz <drow@false.org>
> >
> > For any COMMAND not supported by the stub, an empty response
> > (`$#00') should be returned. That way it is possible to extend the
> > protocol. A newer GDB can tell if a packet is supported based on that
> > response.
>
> Yes, I missed it; perhaps I was looking for "empty reply".
>
> I'll add an index entry there.
Done:
2006-03-31 Eli Zaretskii <eliz@gnu.org>
* gdb.texinfo (Overview): Add an index entry to "empty response".
Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.318
diff -u -r1.318 gdb.texinfo
--- gdb.texinfo 29 Mar 2006 22:58:55 -0000 1.318
+++ gdb.texinfo 31 Mar 2006 14:13:13 -0000
@@ -22462,6 +22462,7 @@
The error response returned for some packets includes a two character
error number. That number is not well defined.
+@cindex empty response, for unsupported packets
For any @var{command} not supported by the stub, an empty response
(@samp{$#00}) should be returned. That way it is possible to extend the
protocol. A newer @value{GDBN} can tell if a packet is supported based