aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2007-01-29 16:37:34 +0000
committerJoel Brobecker <brobecker@gnat.com>2007-01-29 16:37:34 +0000
commitc7ba131ee0e758625ab2b4780f878fc84871aca1 (patch)
tree77a35aa68e4ff3a43eca6b7c83a2e7a310f24b75 /gdb/doc
parent87680a14102a1e14320cc77de8fa4894bd994984 (diff)
downloadgdb-c7ba131ee0e758625ab2b4780f878fc84871aca1.zip
gdb-c7ba131ee0e758625ab2b4780f878fc84871aca1.tar.gz
gdb-c7ba131ee0e758625ab2b4780f878fc84871aca1.tar.bz2
* gdb.texinfo (Maintenance Commands): Add documentation for
the new "maint print target-stack" command.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo13
2 files changed, 18 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 350c01d..c0bef5b 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-29 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.texinfo (Maintenance Commands): Add documentation for
+ the new "maint print target-stack" command.
+
2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
Eli Zaretskii <eliz@gnu.org>
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index de740ac..33a76f8 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -22687,6 +22687,19 @@ average, and median entry size, total memory used and its overhead and
savings, and various measures of the hash table size and chain
lengths.
+@kindex maint print target-stack
+@cindex target stack description
+@item maint print target-stack
+A @dfn{target} is an interface between the debugger and a particular
+kind of file or process. Targets can be stacked in @dfn{strata},
+so that more than one target can potentially respond to a request.
+In particular, memory accesses will walk down the stack of targets
+until they find a target that is interested in handling that particular
+address.
+
+This command prints a short description of each layer that was pushed on
+the @dfn{target stack}, starting from the top layer down to the bottom one.
+
@kindex maint print type
@cindex type chain of a data type
@item maint print type @var{expr}