This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] -stack-select-frame
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 16 Jun 2005 00:42:09 -0400
- Subject: Re: [PATCH] -stack-select-frame
- References: <17072.62436.183299.55978@farnswood.snap.net.nz>
On Thu, Jun 16, 2005 at 03:37:08PM +1200, Nick Roberts wrote:
>
> Last year I submitted a dreadful patch for -stack-select-frame
> (thread subject: How does GDB/MI give the current frame).
>
> Here, hopefully, is a much more sensible one. The idea is the same: that
> -stack-select-frame tells the frontend what the current or selected frame
> is.
>
> The current documentation for -stack-select-frame is slightly wrong because
> the argument FRAMENUM is optional. I've corrected this and explained what
> the patch does.
- You're changing the behavior of a command; do people use this
command? Are you confident that they will handle the new output
gracefully?
- Please, let's not add new MI features without matching testcases.
> ! ^done,frame=@{level="2",addr="0x000107a4",func="foo",
> ! file="recursive2.c",fullname="/home/foo/bar/devo/myproject/recursive2.c",line=line="14"@},
The double line= is a typo, right?
--
Daniel Jacobowitz
CodeSourcery, LLC