From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21120 invoked by alias); 25 Sep 2004 20:12:44 -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 21111 invoked from network); 25 Sep 2004 20:12:43 -0000 Received: from unknown (HELO lakermmtao02.cox.net) (68.230.240.37) by sourceware.org with SMTP; 25 Sep 2004 20:12:43 -0000 Received: from white ([68.9.64.121]) by lakermmtao02.cox.net (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20040925201240.HYJY14545.lakermmtao02.cox.net@white>; Sat, 25 Sep 2004 16:12:40 -0400 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1CBIuQ-000168-00; Sat, 25 Sep 2004 16:12:42 -0400 Date: Sat, 25 Sep 2004 20:12:00 -0000 From: Bob Rossi To: Jim Ingham Cc: gdb@sources.redhat.com Subject: Re: MI rules Message-ID: <20040925201242.GA4133@white> Mail-Followup-To: Jim Ingham , gdb@sources.redhat.com References: <1095954341.19418.ezmlm@sources.redhat.com> <20040925010519.GB3379@white> <4E6C7AD8-0F25-11D9-AD7A-000D932CB92C@apple.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E6C7AD8-0F25-11D9-AD7A-000D932CB92C@apple.com> User-Agent: Mutt/1.3.28i X-SW-Source: 2004-09/txt/msg00232.txt.bz2 On Sat, Sep 25, 2004 at 12:01:28PM -0700, Jim Ingham wrote: > I have no strong opposition to this, I just don't see the point. > Jim, I appreciate the time you have spent thinking about this issue for me. I value the input from someone who has been working with MI for quite some time. I have several questions for you, 1. How do you figure out what type of asynchronous MI output command you just received is? 2. How do you deal with your MI front end dealing with snapshots of GDB? For example, it has new asynchronous commands, but the MI version hasn't been bumped yet. Finally, I want to make an analogy and I would like for someone to tell me where my thinking went wrong. GDB and a leaf collecting hobbyist are best friends. For some odd reason, GDB has tons of different kinds of leafs and the hobbyist is just getting his collection started. The hobbyist, named Foo, often asks GDB for a particular kind of leaf, knowing that GDB has it. Since GDB is willing to get rid of some of his collection, he sends to Foo the leaf every time. Sometimes, when GDB finds an extra leaf, he sends it to Foo, even though Foo didn't ask for it. The only problem is, Foo can not figure out what kind of leaf he got, since there are several others that look almost exactly like it. So Foo spends a large portion of the time guessing what kind of leaf he was just given, even though GDB could have just put on the envelope the type of leaf that it was. Foo can not understand why GDB is so mysterious about the leafs he hands out. The end. hehe, anyways, I'm interested in hearing how you solve the top two problems. Thanks, Bob Rossi