MI: type prefixes for values

Eli Zaretskii eliz@gnu.org
Fri Feb 17 19:36:00 GMT 2006


> Date: Fri, 17 Feb 2006 14:04:18 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Vladimir Prus <ghost@cs.msu.su>, gdb@sources.redhat.com
> 
> To correct the record, he's not parsing MI here.  He's parsing the
> value encapsulated within MI, the bit in quotes here:
>     value="4000"
> or:
>     value="{int (int)} 0xffffffff <sym>"

I understood that part.

> There's no grammar describing what goes in the value string.

How do you mean ``there's no grammar''?  Do you mean it cannot be
written?  Or do you mean it was not written yet?  If the latter, then
if I needed to write a code to parse this, I'd write down a formal
definition of what I'll expect, before writing code to parse that.



More information about the Gdb mailing list