Is gdb/mi prompt before result possible?

Dimitar Zhekov
Wed Jan 11 19:31:00 GMT 2012

Hi, all,

A stupid question, if you allow, but never explicitly clarified (albeit
some topics in this list assume the answer to be false, and the /mi
documentation suggests so):

An /mi command is send to gdb. Is it possible for gdb to become
available (display prompt and receive further commands) before the
result record for that command is returned? For example, in the
following scenario:

[setup anync mode]
[connect to remote target or something else?]
[set breakpoints and run]
(gdb) -exec-next
[some delay]

Is it possible for the "(gdb) " prompt to appear between "-exec-next"
and it's corresponding "^running"?

Thanks in advance.

E-gards: Jimmy

More information about the Gdb mailing list