[RFA] new command: maintenance print target-stack

Joel Brobecker brobecker@adacore.com
Thu Jan 25 23:58:00 GMT 2007


> > 2007-01-24  Joel Brobecker  <brobecker@adacore.com>
> > 
> >         * target.c (maintenance_print_target_stack): New function.
> >         (initialize_targets): Add new "maintenance print target-stack"
> >         command.
> 
> OK, with documentation.

Thanks, Daniel.

Eli,

Here is a first cut at documenting this new command.

2007-01-25  Joel Brobecker  <brobecker@adacore.com>

        * gdb.texinfo (Maintenance Commands): Add documentation for
        the new "maint print target-stack" command.

Would that be ok?

Thanks,
-- 
Joel
-------------- next part --------------
Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.379
diff -u -p -r1.379 gdb.texinfo
--- gdb.texinfo	20 Jan 2007 16:51:55 -0000	1.379
+++ gdb.texinfo	25 Jan 2007 23:55:36 -0000
@@ -22667,6 +22667,12 @@ average, and median entry size, total me
 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
+Print a short description of each layer that was pushed on the target stack,
+starting from the top stack down to the bottom one.
+
 @kindex maint print type
 @cindex type chain of a data type
 @item maint print type @var{expr}


More information about the Gdb-patches mailing list