aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-04-02 08:58:19 +0000
committerEli Zaretskii <eliz@gnu.org>2001-04-02 08:58:19 +0000
commitf5c37c66ad46f4899cd3df20da1efd145c3329be (patch)
tree06b4fa24a6e623a7eb9b9488f465c25b75982c38 /gdb/doc
parentdec0cb0ce302ae703bc8530f8b712b7eee92777a (diff)
downloadgdb-f5c37c66ad46f4899cd3df20da1efd145c3329be.zip
gdb-f5c37c66ad46f4899cd3df20da1efd145c3329be.tar.gz
gdb-f5c37c66ad46f4899cd3df20da1efd145c3329be.tar.bz2
* 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.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo8
2 files changed, 14 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 84b5670..42b5517 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@
+2001-04-02 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * 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 <eliz@is.elta.co.il>
* gdb.texinfo (Symbols): Document "info scope".
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 8bda066..11a959a 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