This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB/MI snapshots between major release's


On Wed, Oct 06, 2004 at 11:30:20AM -0700, Felix Lee wrote:
> Bob Rossi <bob@brasko.net>:
> > You obviously not understanding the point here. I can not even get my
> > front end to the point where it can look at the command. The reason is,
> > I can not *PARSE* the command. 
> 
> mostly, I don't understand why you feel you need to parse a
> command before understanding it, when the command is something
> simple like a 'who are you?' challenge/response.  most programs
> that can speak to different clients will do some dynamic
> adaptation of protocol based on interaction with the client.
> it's not clear to me why you want to do it differently.
> 
> > Therefor, I don't have a parse tree, and can not even begin to
> > understand what MI output command GDB just sent to me.
> 
> this seems to be the miscommunication going on.  I don't think I
> need a parse tree to begin understanding output, and it's not
> clear to me what programming model you're using that makes it
> hard to do simple output recognition without a parse tree.
> --

It's simply incorrect in my view to add the command to the MI command
set if no one expects you to use MI to use it. This is wierd.

I want to be able to use my MI parser's to read the MI protocol.

Bob Rossi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]