[mi] -list-features

Vladimir Prus ghost@cs.msu.su
Fri Sep 7 20:26:00 GMT 2007


On Friday 31 August 2007 13:18:17 Eli Zaretskii wrote:
> > From: Vladimir Prus <ghost@cs.msu.su>
> > Date: Fri, 31 Aug 2007 13:00:36 +0400
> > Cc: drow@false.org,
> >  gdb-patches@sources.redhat.com
> > 
> > > It is still ambiguous, because "a list of string" does not tell the
> > > whole story.  Is it
> > > 
> > >     foo bar baz
> > > or
> > >     "foo" "bar" "baz"
> > > or
> > >     foo,bar,baz
> > > or
> > >     {foo,bar,baz}
> > 
> > Well, in MI, "list of strings" is quite well defined.
> 
> I don't see such a definition.  I see a definition of "list", but if
> you want to rely on that, please add a cross-reference to that
> section, because the reader shouldn't be required to remember the
> syntax by heart.
> 
> > 		Example output:
> > 
> > 			^done,result=["feature1","feature2"]
> 
> This is much better, IMO; now it's perfectly clear what front ends
> should expect.

Here's the updated patch, including texinfo docs. OK?

- Volodya

-------------- next part --------------
A non-text attachment was scrubbed...
Name: list_features.diff
Type: text/x-diff
Size: 3391 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070907/48c7769e/attachment.bin>


More information about the Gdb-patches mailing list