Re: MI rules

Bob Rossi
2004-09-25T20:12:44Z

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