[patch 7/8] Documentation changes

Yao Qi
2011-11-08T06:43:48Z

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

This patch is about documentation changes to reflect 1) the changes on
tracepoint behavior, 2) a new remote feature.

--
Yao (é½å°§)

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

gdb/doc/
* gdb.texinfo (Create and Delete Tracepoints): Describe changed
behavior of tracepoint.
(General Query Packets): New feature InstallInTrace.
---
gdb/doc/gdb.texinfo | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 520360f..2ed00bf 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, which depends on the
+remote stub's support of @samp{InstallInTrace} feature (see
+@ref{install tracepoint in tracing})for remote targets.
+If remote stub doesn't support @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.

@@ -34845,6 +34849,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