From: Eli Zaretskii Date: Mon, 2 Apr 2001 08:58:19 +0000 (+0000) Subject: * gdb.texinfo (Tracepoint Actions): Mention the "info scope" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5c37c66ad46f4899cd3df20da1efd145c3329be;p=binutils-gdb.git * 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. --- 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