OSDN Git Service

* gdb.texinfo (Maintenance Commands): Add documentation for
authorJoel Brobecker <brobecker@gnat.com>
Mon, 29 Jan 2007 16:37:34 +0000 (16:37 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 29 Jan 2007 16:37:34 +0000 (16:37 +0000)
        the new "maint print target-stack" command.

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index 350c01d..c0bef5b 100644 (file)
@@ -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>
 
index de740ac..33a76f8 100644 (file)
@@ -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}