Re: gdb/mi, new-ui. the console and determining when GDB is ready for the next command

Bob Rossi
2020-04-11T12:12:32Z

On Tue, Nov 05, 2019 at 02:06:30PM +0000, Pedro Alves wrote:
> On 11/2/19 10:35 AM, Robert Rossi wrote:
> > ...
> > =breakpoint-created,bkpt={number="1",type="breakpoint",...,original-location="main"}
> > <--- No GDB prompt
>
> A gdb prompt indicates that GDB is ready to accept commands
> again.

Sorry to respond to such an old thread. I'm just getting back into
this somehow.

The above statement surprises me. The MI manual describes an MI
output command with the following syntax,
output ->
( out-of-band-record )* [ result-record ] "(gdb)" nl
So I'm expecting "(gdb)\n" followed by the end of every output
command. Is this not how it works?

Thanks,
Bob Rossi