[PATCH] store trace default-collect to target [5/6] doc

Hui Zhu
2013-04-11T06:19:09Z

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

Hi,

This patch is doc update for "QTDDCsrc" and "qTDC".

Thanks,
Hui

2013-04-11 Hui Zhu <hui@codesourcery.com>

* gdb.texinfo (Tracepoint Packets) Add "QTDDCsrc" and "qTDC".

[-- Attachment #2: defc-doc.txt --]
[-- Type: text/plain, Size: 1713 bytes --]

--- a/doc/gdb.texinfo
+++ b/doc/gdb.texinfo
@@ -37792,8 +37792,10 @@ encoded). @value{GDBN} will continue to
@itemx QTDP
@itemx QTDPsrc
@itemx QTDV
+@itemx QTDDCsrc
@itemx qTfP
@itemx qTfV
+@itemx qTDC
@itemx QTFrame
@itemx qTMinFTPILen

@@ -38382,6 +38384,22 @@ the option of not using this packet for
target should simply create the trace state variables as they are
mentioned in expressions.

+@item QTDDCsrc:@var{bytes}
+@cindex define default collect, remote request
+@cindex @samp{QTDDCsrc} packet
+@var{bytes} is the string, encoded in hexadecimal.
+It specify a source string of default collect.
+The target does not need to do anything with source strings except
+report them back as part of the replies to the @samp{qTDC} query packets.
+
+Replies:
+@table @samp
+@item OK
+The packet was understood and carried out.
+@item @w{}
+The packet was not recognized.
+@end table
+
@item QTFrame:@var{n}
@cindex @samp{QTFrame} packet
Select the @var{n}'th tracepoint frame from the buffer, and use the
@@ -38637,6 +38655,24 @@ and multiple @code{qTsV} to get addition
these packets follow the syntax of the @code{QTDV} packets that define
trace state variables.

+@item qTDC
+@cindex @samp{qTDC} packet
+@itemx qTDC
+@cindex @samp{qTDC} packet
+These packets request default collect on the target. Replies to
+this packet generally take the form of the @code{QTDDCsrc} packet that
+define default collect.
+
+Replies:
+@table @samp
+@item DC@var{bytes}
+@var{bytes} is the string, encoded in hexadecimal. It take the form of
+the @code{QTDDCsrc} packet that define default collect.
+
+@item @w{}
+The packet was not recognized.
+@end table
+
@item qTfSTM
@itemx qTsSTM
@anchor{qTfSTM}