Re: [patch 7/8] Documentation changes

Yao Qi
2011-11-12T03:09:31Z

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

On 11/11/2011 01:02 AM, Pedro Alves wrote:
> The new "set remote install-in-trace-packet" command should get
> an entry in the table below:
>
> For each packet @var{name}, the command to enable or disable the
> packet is @code{set remote @var{name}-packet}. The available settings
> are:"
>
> In the "Remote Configuration" node.
>

Added one row in table for install-in-trace.

--
Yao (é½å°§)

[-- Attachment #2: 0007-doc-InstallInTrace.patch --]
[-- Type: text/x-patch, Size: 2039 bytes --]

* gdb.texinfo (Create and Delete Tracepoints): Describe changed
behavior of tracepoint.
(General Query Packets): New feature InstallInTrace.
(Remote Configuration): Document "set remote
install-in-trace-packet".
---
gdb/doc/gdb.texinfo | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 520360f..e45f75f 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -10330,7 +10330,11 @@ an address in the target program. @xref{Specify Location}. The
@code{trace} command defines a tracepoint, which is a point in the
target program where the debugger will briefly stop, collect some
data, and then allow the program to continue. Setting a tracepoint or
-changing its actions doesn't take effect until the next @code{tstart}
+changing its actions takes effect immediately if the remote stub
+supports the @samp{InstallInTrace} feature (@pxref{install tracepoint
+in tracing}).
+If remote stub doesn't support the @samp{InstallInTrace} feature, all
+these changes don't take effect until the next @code{tstart}
command, and once a trace experiment is running, further changes will
not have any effect until the next trace experiment starts.

@@ -17316,6 +17320,10 @@ are:
@tab @code{qXfer:traceframe-info:read}
@tab Traceframe info

+@item @code{install-in-trace}
+@tab @code{InstallInTrace}
+@tab Install tracepoint in tracing
+
@item @code{disable-randomization}
@tab @code{QDisableRandomization}
@tab @code{set disable-randomization}
@@ -34845,6 +34853,10 @@ The remote stub understands the @samp{QDisableRandomization} packet.
@cindex static tracepoints, in remote protocol
The remote stub supports static tracepoints.

+@item InstallInTrace
+@anchor{install tracepoint in tracing}
+The remote stub supports installing tracepoint in tracing.
+
@item EnableDisableTracepoints
The remote stub supports the @samp{QTEnable} (@pxref{QTEnable}) and
@samp{QTDisable} (@pxref{QTDisable}) packets that allow tracepoints
--
1.7.0.4