Re: async patch (no. 4)

Nick Roberts
2007-06-17T09:28:32Z

Daniel Jacobowitz writes (Fri, 12 Jan 2007 18:03:33 -0500):

> > You're not looking at the last patch, which is smaller, that I sent:
> >
> > Re: [PATCH] PR mi/2077 "set edit off" breaks MI"
> > (Tue, 21 Nov 2006 11:20:41 +1300)

This attachment is called async5.diff.gz.

> Whoops! Thanks. Well, let this be a reminder to both of us to put
> things in their own threads :-) I'll look at that one instead. I
> thought the other one was newer.

I'm not sure if this was the last message in the thread but I'd like to
see if we can get something committed after GDB 6.7 goes out.

As you probably know the GDB mode in Emacs 22.1 uses annotations with some MI
through the "interpreter" command, e.g, variable objects. Now I want to try to
migrate Emacs to fully use MI, and have some code that I plan to commit shortly
to the Emacs CVS repository. I think this really needs GDB to work
asynchronously.

With the patch that I posted, when GDB is invoked normally behaviour shouldn't
change. To work asynchronously, it needs to be invoked with the "--async"
option. In this way, I hope to insulate others from any problems that it may
have.

I realise that you're probably very busy, but there's no immediate hurry, and
to save time perhaps you could just check that synchronous behaviour is indeed
unaffected.

I can posted an updated patch if needed.