This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] -stack-info-frames
On Sat, Jun 18, 2005 at 01:19:55PM +0200, Eli Zaretskii wrote:
> > From: Nick Roberts <nickrob@snap.net.nz>
> > Date: Sat, 18 Jun 2005 20:53:32 +1200
> > Cc: gdb-patches@sources.redhat.com
> >
> > > > Not sure what we could add to the docs. This is what's there:
> > > > If invoked without arguments, this command prints a backtrace for the
> > > > whole stack. If given two integer arguments, it shows the frames whose
> > > > levels are between the two arguments (inclusive). If the two arguments
> > > > are equal, it shows the single frame at the corresponding level.
> > >
> > > Is the actual/new behavior any different, and if so, how?
> >
> > The only behaviour that I've changed is that -stack-selected-frame must
> > have an argument. This now accurately reflects existing documentation.
>
> But the above snippet is taken from the documentation of
> "-stack-list-frames", not from "-stack-selected-frame". How is that
> relevant?
It isn't, really - Nick and I have been discussing -stack-info-frame
versus -stack-list-frames. We didn't realize that you could use
-stack-list-frame to list a single frame.
--
Daniel Jacobowitz
CodeSourcery, LLC