public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Is gdb/mi prompt before result possible?
@ 2012-01-11 19:31 Dimitar Zhekov
  2012-01-16 19:15 ` Jan Kratochvil
  0 siblings, 1 reply; 2+ messages in thread
From: Dimitar Zhekov @ 2012-01-11 19:31 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Is gdb/mi prompt before result possible?
  2012-01-11 19:31 Is gdb/mi prompt before result possible? Dimitar Zhekov
@ 2012-01-16 19:15 ` Jan Kratochvil
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kratochvil @ 2012-01-16 19:15 UTC (permalink / raw)
  To: Dimitar Zhekov; +Cc: gdb

On Wed, 11 Jan 2012 20:32:07 +0100, Dimitar Zhekov wrote:
> (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"?

Prompt can appear before *running but not before ^running.

But I am not so proficient with MI.


Regards,
Jan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-16 19:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-11 19:31 Is gdb/mi prompt before result possible? Dimitar Zhekov
2012-01-16 19:15 ` Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).