diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 350c01d23f..c0bef5bcb5 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2007-01-29 Joel Brobecker + + * gdb.texinfo (Maintenance Commands): Add documentation for + the new "maint print target-stack" command. + 2007-01-26 Jan Kratochvil Eli Zaretskii diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index de740ac1b0..33a76f87a8 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}