From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3931 invoked by alias); 17 Feb 2006 19:25:43 -0000 Received: (qmail 3922 invoked by uid 22791); 17 Feb 2006 19:25:42 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 17 Feb 2006 19:25:40 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-152-98.inter.net.il [80.230.152.98]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DOW55002 (AUTH halo1); Fri, 17 Feb 2006 21:25:34 +0200 (IST) Date: Fri, 17 Feb 2006 19:36:00 -0000 Message-Id: From: Eli Zaretskii To: Vladimir Prus , gdb@sources.redhat.com In-reply-to: <20060217190418.GA27304@nevyn.them.org> (message from Daniel Jacobowitz on Fri, 17 Feb 2006 14:04:18 -0500) Subject: Re: MI: type prefixes for values Reply-to: Eli Zaretskii References: <200602171658.23427.ghost@cs.msu.su> <200602171724.03824.ghost@cs.msu.su> <20060217190418.GA27304@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00193.txt.bz2 > Date: Fri, 17 Feb 2006 14:04:18 -0500 > From: Daniel Jacobowitz > Cc: Vladimir Prus , 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 " 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.