Re: new-ui, the console, and synchronization by the front end

Pedro Alves via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 4/14/20 12:16 PM, Bob Rossi wrote:
> I really appreciate the responses, very helpful!

My pleasure.

> The only remaining question I have is about preventing
> the user from running more than one command at a time.

Can you clarify the use case here?  I'm not sure I understand
what you mean by this, or why you'd need to do anything special.
It should be no different from running GDB standalone in a
terminal.  What do you mean by more then one command at
a time? 

> 
> The only way I know to do that is to intercept each of the
> commands a user sends and queue them in CGDB itself.
> Then to use prompt annotations using annotate=2 or 3
> to determine when the next command is ready by GDB.
> 
> Does anyone know of another way to accomplish this?
Thanks,
Pedro Alves
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.