Is gdb/mi prompt before result possible?

Dimitar Zhekov dimitar.zhekov@gmail.com
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]
*stopped,reason="breakpoint-hit",...
(gdb) -exec-next
(gdb) 
[some delay]
^running
*running,thread-id="1"
(gdb) 
*stopped,reason="end-stepping-range",...
(gdb) 

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