From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11646 invoked by alias); 6 Oct 2004 16:45:54 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 11629 invoked from network); 6 Oct 2004 16:45:53 -0000 Received: from unknown (HELO biscayne-one-station.mit.edu) (18.7.7.80) by sourceware.org with SMTP; 6 Oct 2004 16:45:53 -0000 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.12.4/8.9.2) with ESMTP id i96Gjprb027599; Wed, 6 Oct 2004 12:45:51 -0400 (EDT) Received: from contents-vnder-pressvre.mit.edu (CONTENTS-VNDER-PRESSVRE.MIT.EDU [18.7.16.67]) (authenticated bits=56) (User authenticated as nathanw@ATHENA.MIT.EDU) by outgoing.mit.edu (8.12.4/8.12.4) with ESMTP id i96GjnJg003333 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 6 Oct 2004 12:45:50 -0400 (EDT) Received: (from nathanw@localhost) by contents-vnder-pressvre.mit.edu (8.12.9) id i96Gjnow005378; Wed, 6 Oct 2004 12:45:49 -0400 (EDT) To: "'Bob Rossi'" Cc: Dave Korn , "'Eli Zaretskii'" , gdb@sources.redhat.com Subject: Re: probing GDB for MI versions References: <20041006113916.GC11747@white> <20041006162225.GA12213@white> From: "Nathan J. Williams" Organization: Wasabi Systems, Inc. Date: Wed, 06 Oct 2004 16:46:00 -0000 In-Reply-To: <20041006162225.GA12213@white> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.42 X-SW-Source: 2004-10/txt/msg00135.txt.bz2 "'Bob Rossi'" writes: > It is not possible to understand the output of the command no matter how > simple it is. If there is no parse tree, then there is no way to > understand the output from GDB. You have constrained yourself to using a formal parser for absolutely all interaction with GDB output. This constraint is unnecessary. The suggestions in this thread are "start gdb, hand-check the result from this particular minimal command, and *then* fire up the full-fledged, grammar-generated parser, selecting appropriately for the version". Perhaps you can explain why you feel this constraint to be necessary, since that appears to be the real point of contention. - Nathan