From f5c37c66ad46f4899cd3df20da1efd145c3329be Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 2 Apr 2001 08:58:19 +0000 Subject: [PATCH] * gdb.texinfo (Tracepoint Actions): Mention the "info scope" command and provide a cross-reference to its description. (Symbols): Note that "info scope" is useful for trace experiments. --- gdb/doc/ChangeLog | 6 ++++++ gdb/doc/gdb.texinfo | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 84b5670222e..42b5517d443 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2001-04-02 Eli Zaretskii + + * gdb.texinfo (Tracepoint Actions): Mention the "info scope" + command and provide a cross-reference to its description. + (Symbols): Note that "info scope" is useful for trace experiments. + 2001-04-01 Eli Zaretskii * gdb.texinfo (Symbols): Document "info scope". diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 8bda066c5b5..11a959a9437 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -5897,6 +5897,9 @@ You can give several consecutive @code{collect} commands, each one with a single argument, or one @code{collect} command with several arguments separated by commas: the effect is the same. +The command @code{info scope} (@pxref{Symbols, info scope}) is +particularly useful for figuring out what data to collect. + @kindex while-stepping @r{(tracepoints)} @item while-stepping @var{n} Perform @var{n} single-step traces after the tracepoint, collecting @@ -8246,6 +8249,11 @@ Symbol nline is a local variable in register $edx, length 4. Symbol repeat is a local variable at frame offset -8, length 4. @end smallexample +@noindent +This command is especially useful for determining what data to collect +during a @dfn{trace experiment}, see @ref{Tracepoint Actions, +collect}. + @kindex info source @item info source Show the name of the current source file---that is, the source file for -- 2.30.2