This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [mi] -list-features


> 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.

Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]