This is the mail archive of the gdb@sourceware.org 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 questions


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


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