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


 > >       lang=LANG-SPEC,exp=EXPRESSION
 > > 
 > >   where LANG-SPEC is `{"C" | "C++" | "Java"}'.
 > > 
 > > means e.g lang="C" not lang={"C"}
 > 
 > Then I think the braces `{}' should be simply removed from the
 > description in the manual.

Yes that would work here but not in other places:

      -var-create {NAME | "-"}
         {FRAME-ADDR | "*"} EXPRESSION


      -var-update [PRINT-VALUES] {NAME | "*"}

where the braces make the extent of the alternatives unambiguous.

I think the section is intelligible even if not formally correct.  Since MI
is  likely to change I suggest we improve it later. 

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