From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28161 invoked by alias); 25 Jan 2007 23:58:07 -0000 Received: (qmail 28152 invoked by uid 22791); 25 Jan 2007 23:58:06 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 25 Jan 2007 23:58:01 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id 336C048CE9A for ; Thu, 25 Jan 2007 18:57:59 -0500 (EST) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08138-01 for ; Thu, 25 Jan 2007 18:57:59 -0500 (EST) Received: from takamaka.act-europe.fr (joel.gnat.com [205.232.38.116]) by nile.gnat.com (Postfix) with ESMTP id 01BB048CE37 for ; Thu, 25 Jan 2007 18:57:58 -0500 (EST) Received: by takamaka.act-europe.fr (Postfix, from userid 1000) id 86E7434C099; Fri, 26 Jan 2007 03:58:57 +0400 (RET) Date: Thu, 25 Jan 2007 23:58:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: [RFA] new command: maintenance print target-stack Message-ID: <20070125235857.GB18453@adacore.com> References: <20070124011254.GG4667@adacore.com> <20070124200514.GA25394@nevyn.them.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <20070124200514.GA25394@nevyn.them.org> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00527.txt.bz2 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 545 > > 2007-01-24 Joel Brobecker > > > > * 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 * gdb.texinfo (Maintenance Commands): Add documentation for the new "maint print target-stack" command. Would that be ok? Thanks, -- Joel --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="targ.diff" Content-length: 752 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} --3V7upXqbjpZ4EhLz--