[RFA/doc] GDB remote target waits for a response when detaching.
Nathan J. Williams
nathanw@MIT.EDU
Fri Jul 1 19:42:00 GMT 2005
The documentation of the remote protocol says:
GDB does not check for any response after sending this packet
but this isn't true. remote_detach() calls remote_send(), which calls
getpkt() and signals an error if the result starts with 'E'. This
seems to have been true "forever", or at least back to the beginning
of CVS.
OK to commit this doc change?
- Nathan
* gdb.texinfo (Packets): Change description of 'D' packet to
note that GDB does wait for a response.
Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.271
diff -u -r1.271 gdb.texinfo
--- gdb.texinfo 22 Jun 2005 06:20:00 -0000 1.271
+++ gdb.texinfo 1 Jul 2005 19:36:46 -0000
@@ -22058,8 +22058,10 @@
Reply:
@table @samp
-@item @emph{no response}
-@value{GDBN} does not check for any response after sending this packet.
+@item OK
+for success
+@item E@var{NN}
+for an error
@end table
@item @code{e} --- reserved
More information about the Gdb-patches
mailing list