This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] -stack-info-frames
On Fri, Jun 17, 2005 at 07:01:30PM -0400, Daniel Jacobowitz wrote:
> On Sat, Jun 18, 2005 at 10:52:09AM +1200, Nick Roberts wrote:
> >
> > Here's a patch for -stack-info-frames. Having just read Jason's e-mail
> > about how quick "-stack-list-frames 0 0" is, I'm not sure its necessary.
> > I thought I'd send it anyway.
> >
> > Even if we decide not to implement -stack-info-frames, could you please
> > approve the other parts: Not testing for stack, and not allowing an argument
> > (mi_cmd_stack_select_frame).
>
> How do you feel about putting an optional argument on _this_ one?
> -stack-select-frame 0; -stack-info-frame is much like
> -stack-list-frames 0 0; but "-stack-info-frame 2" doesn't have an
> obvious analogue.
Waitasec...
Nick, sorry, I've been giving you silly suggestions, because I have not
spent enough time with the MI manual. Is "-stack-info-frame N" basically
the same as "-stack-list-frames N N"?
--
Daniel Jacobowitz
CodeSourcery, LLC