aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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