This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 5/5] Document
On 11/17/2011 10:41 PM, Pedro Alves wrote:
>>> > > The resolution of pending tracepoints requires @value{GDBN} support---
>>> > > when debugging with the remote target, and @value{GDBN} disconnects from the
>>> > > remote stub (@pxref{disconnected tracing}), pending tracepoints can not be
>> >
>> > ...so I suggest remove "(@pxref{disconnected tracing})" here. What do
>> > you think?
> I do think we should have that reference there.
That is fine to me. Here is the final version of doc patch.
--
Yao (éå)
* gdb.texinfo (Create and Delete Tracepoints): Mention pending
tracepoint.
---
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 0cadc96..60a2927 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -10337,7 +10337,15 @@ 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.
+not have any effect until the next trace experiment starts. In addition,
+@value{GDBN} supports @dfn{pending tracepoints}---tracepoints whose
+address is not yet resolved. (This is similar to pending breakpoints.)
+Pending tracepoints are not downloaded to the target and not installed
+until they are resolved. The resolution of pending tracepoints requires
+@value{GDBN} support---when debugging with the remote target, and
+@value{GDBN} disconnects from the remote stub (@pxref{disconnected
+tracing}), pending tracepoints can not be resolved (and downloaded to
+the remote stub) while @value{GDBN} is disconnected.
Here are some examples of using the @code{trace} command:
--
1.7.0.4