MI and the prompt

Bob Rossi bob@brasko.net
Wed Jan 20 03:31:56 GMT 2021


Hi,

I long time ago I asked the GDB mailing list how to determine if GDB is ready
for another command when using MI. Pedro Alves wrote:

    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.

I recently started to update cgdb to drop annotations and use the new-ui
command line option. I noticed that i'm no longer seeing that historical
wart.

Has this been "fixed" in gdb? If so, is there a way to determine which 
versions of gdb have the historical wart, and which ones do not?

Thanks,
Bob Rossi



More information about the Gdb mailing list