This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Is gdb/mi prompt before result possible?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]