This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: -var-show-attributes response syntax
Nick Roberts <nickrob@snap.net.nz> writes:
> Vladimir Prus writes:
> >
> > Hello!
> >
> > Here's the docs for -var-show-attributes MI command:
> >
> > Synopsis
> > -var-show-attributes name
> >
> > List attributes of the specified variable object name:
> > status=attr [ ( ,attr )* ]
> > where attr is { { editable | noneditable } | TBD }.
> >
> > What is the reason for using "non" instead of "attribute_name=attribute_value"
> > syntax? The above assumes all attributes are boolean, which is not very
> > extensible.
>
> I think the above means output may be something like:
>
> ^done,attr={"editable","yellow","big"}
In which case I think status is a typo and should actually have been attr,
like this:
attr=ATTR [ ( ,ATTR )* ]
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."