Re: -var-show-attributes response syntax

Nick Roberts
2006-11-11T10:03:26Z

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