Re: GDB/MI questions

Pedro Alves <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 01/19/2017 02:51 PM, Bob Rossi wrote:

> I understand that your opinion is to just send the commands and let them
> buffer. However, it avoids the question. Is there a technique to know
> if GDB is ready for input using MI?

GDB is ready for input when it prints the MI prompt.  There's one
prompt that is already printed after ^running that you should ignore.
That's an historical wart.

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.