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

Bob Rossi <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
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.