This is the mail archive of the gdb@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: -var-show-attributes response syntax


 > > Are you suggesting
 > >
 > >   ^done,attr="editable=0",  ^done,attr="editable=1"
 > >
 > > or
 > >
 > >   ^done,editable="0",  ^done,editable="1"
 > 
 > The latter.
 > 
 > > Either case still requires the front end to do some string
 > > manipulation/comparison. 
 > 
 > I don't follow -- every syntax requires some string manipulation. In 
 > fact, "name=value" syntax is used in many other places so frontend already 
 > knows how to parse it.
 > 
 > > Can you state precisely how you would change the 
 > > format and precisely what the benefit would be?
 > 
 > The benefit is consistency with other MI response.

I'm still not clear as you've not said what new attribute(s) you want to
introduce.  Perhaps, as an alternative, they could be added to the output of
-var-info-expression.  I think the best thing to do is submit a patch.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


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