From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5295 invoked by alias); 19 Jun 2005 22:31:52 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5241 invoked by uid 22791); 19 Jun 2005 22:31:38 -0000 Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 19 Jun 2005 22:31:38 +0000 Received: from farnswood.snap.net.nz (p202-tnt1.snap.net.nz [202.124.110.202]) by viper.snap.net.nz (Postfix) with ESMTP id ECEF1545432; Mon, 20 Jun 2005 10:31:33 +1200 (NZST) Received: by farnswood.snap.net.nz (Postfix, from userid 501) id E0F4062A9A; Sun, 19 Jun 2005 23:32:39 +0100 (BST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17077.62086.987646.799038@farnswood.snap.net.nz> Date: Sun, 19 Jun 2005 22:31:00 -0000 To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] -stack-info-frames In-Reply-To: References: <20050617230130.GB21178@nevyn.them.org> <20050617231425.GA22254@nevyn.them.org> <17075.30993.384316.356236@farnswood.snap.net.nz> <20050618015756.GA30430@nevyn.them.org> <17075.57612.684597.392526@farnswood.snap.net.nz> <20050618155742.GB3663@nevyn.them.org> <17076.42233.730605.834264@farnswood.snap.net.nz> <20050618232032.GA28368@nevyn.them.org> <17076.59646.873454.551250@farnswood.snap.net.nz> <20050619145612.GA8219@nevyn.them.org> X-SW-Source: 2005-06/txt/msg00300.txt.bz2 > > Date: Sun, 19 Jun 2005 10:56:13 -0400 > > From: Daniel Jacobowitz > > Cc: Eli Zaretskii , gdb-patches@sources.redhat.com > > > > The documentation is up to Eli, but I can say with some confidence that > > it is NOT ok, since you didn't really remove argument values from the > > examples. I still see one: > > > > > + @smallexample > > > + (@value{GDBP}) > > > + -stack-info-frame > > > + ^done,frame=@{level="1",addr="0x0001076c",func="callee3", > > > + args=[@{name="strarg",value="0x11940 \"A string argument.\""@}], > > > + file="../../../devo/gdb/testsuite/gdb.mi/basics.c", > > > + fullname="/home/foo/bar/devo/gdb/testsuite/gdb.mi/basics.c",line="17"@} > > > + (@value{GDBP}) > > > + @end smallexample > > > + > > Yes, Nick, please fix this. The patch was OK but the diff wasn't. I picked up the backup copy by mistake: *** /home/nick/src/gdb/doc/gdb.texinfo.~1.269~ 2005-06-19... --- /home/nick/src/gdb/doc/gdb.texinfo~ 2005-06-19... *************** ^^^ In future, I'll diff on the repository (and wait for approval!). Nick *** /home/nick/src/gdb/doc/gdb.texinfo.~1.269~ 2005-06-19 15:03:43.000000000 +1200 --- /home/nick/src/gdb/doc/gdb.texinfo 2005-06-19 15:00:52.000000000 +1200 *************** *** 19223,19228 **** --- 19223,19256 ---- @node GDB/MI Stack Manipulation @section @sc{gdb/mi} Stack Manipulation Commands + + @subheading The @code{-stack-info-frame} Command + @findex -stack-info-frame + + @subsubheading Synopsis + + @smallexample + -stack-info-frame + @end smallexample + + Get info on the selected frame. + + @subsubheading @value{GDBN} Command + + The corresponding @value{GDBN} command is @samp{info frame} or @samp{frame} + (without arguments). + + @subsubheading Example + + @smallexample + (@value{GDBP}) + -stack-info-frame + ^done,frame=@{level="1",addr="0x0001076c",func="callee3", + file="../../../devo/gdb/testsuite/gdb.mi/basics.c", + fullname="/home/foo/bar/devo/gdb/testsuite/gdb.mi/basics.c",line="17"@} + (@value{GDBP}) + @end smallexample + @subheading The @code{-stack-info-depth} Command @findex -stack-info-depth