From: Hui Zhu <teawater@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Yao Qi <yao@codesourcery.com>, Hui Zhu <hui_zhu@mentor.com>,
gdb-patches ml <gdb-patches@sourceware.org>
Subject: Re: [PATCH] store trace default-collect to target [5/6] doc
Date: Tue, 16 Apr 2013 15:44:00 -0000 [thread overview]
Message-ID: <CANFwon2c1J+gsyz7nJMC07ahkJRbN+FzSpPmRWMRKTK-aWyXSw@mail.gmail.com> (raw)
In-Reply-To: <83txn64xlq.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
On Tue, Apr 16, 2013 at 5:46 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Hui Zhu <teawater@gmail.com>
>> Date: Tue, 16 Apr 2013 17:31:16 +0800
>> Cc: Hui Zhu <hui_zhu@mentor.com>, gdb-patches ml <gdb-patches@sourceware.org>
>>
>> +qTDC
>> + Request target upload trace default collect.
>
> "Request target to upload trace default collect."
Fixed.
>
> OK with this change.
Thanks,
Hui
[-- Attachment #2: defc-doc.txt --]
[-- Type: text/plain, Size: 2111 bytes --]
--- a/NEWS
+++ b/NEWS
@@ -45,6 +45,14 @@ show remote trace-status-packet
** The -trace-save MI command can optionally save trace buffer in Common
Trace Format now.
+* New remote packets
+
+QTDDCsrc
+ Download trace default collect string to target.
+
+qTDC
+ Request target to upload trace default collect.
+
*** Changes in GDB 7.6
* Target record has been renamed to record-full.
--- a/doc/gdb.texinfo
+++ b/doc/gdb.texinfo
@@ -37825,8 +37825,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
@@ -38415,6 +38417,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 specifies a 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
@@ -38670,6 +38688,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
+defines default collect.
+
+Replies:
+@table @samp
+@item DC@var{bytes}
+@var{bytes} is the string, encoded in hexadecimal. It takes the form of
+the @code{QTDDCsrc} packet that defines default collect.
+
+@item @w{}
+The packet was not recognized.
+@end table
+
@item qTfSTM
@itemx qTsSTM
@anchor{qTfSTM}
next prev parent reply other threads:[~2013-04-16 10:11 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 8:35 [PATCH] store trace default-collect to target [0/6] Hui Zhu
2013-04-11 8:37 ` [PATCH] store trace default-collect to target [1/6] target, trace and remote Hui Zhu
2013-04-11 22:58 ` Yao Qi
2013-04-16 15:22 ` Hui Zhu
2013-05-13 6:00 ` Hui Zhu
2013-04-11 22:59 ` Abid, Hafiz
2013-04-11 9:14 ` [PATCH] store trace default-collect to target [2/6] gdbserver Hui Zhu
2013-05-13 6:01 ` Hui Zhu
2013-04-11 10:33 ` [PATCH] store trace default-collect to target [3/6] tfile Hui Zhu
2013-04-11 22:59 ` Yao Qi
2013-04-12 14:58 ` Hui Zhu
2013-04-15 19:01 ` Hui Zhu
2013-04-16 15:34 ` Hui Zhu
2013-04-17 11:21 ` Yao Qi
2013-05-13 6:02 ` Hui Zhu
2013-04-11 10:36 ` [PATCH] store trace default-collect to target [4/6] save tracepoint Hui Zhu
2013-05-13 6:03 ` Hui Zhu
2013-04-11 10:48 ` [PATCH] store trace default-collect to target [5/6] doc Hui Zhu
2013-04-11 22:59 ` Yao Qi
2013-04-16 14:35 ` Hui Zhu
2013-04-11 23:00 ` Eli Zaretskii
2013-04-16 15:39 ` Hui Zhu
2013-04-16 15:44 ` Eli Zaretskii
2013-04-16 15:44 ` Hui Zhu [this message]
2013-05-13 6:04 ` Hui Zhu
2013-05-13 16:02 ` Eli Zaretskii
2013-05-14 1:36 ` Hui Zhu
2013-04-11 10:49 ` [PATCH] store trace default-collect to target [6/6] test Hui Zhu
2013-04-11 13:14 ` Yao Qi
2013-04-11 14:01 ` Hui Zhu
2013-04-11 15:24 ` Yao Qi
2013-04-16 15:44 ` Hui Zhu
2013-05-13 6:06 ` Hui Zhu
2013-05-13 5:33 ` [PATCH] store trace default-collect to target [0/6] Hui Zhu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CANFwon2c1J+gsyz7nJMC07ahkJRbN+FzSpPmRWMRKTK-aWyXSw@mail.gmail.com \
--to=teawater@gmail.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=hui_zhu@mentor.com \
--cc=yao@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox