From: Vladimir Prus <ghost@cs.msu.su>
To: Konstantin Karganov <karganov@gmail.com>
Cc: gdb@sources.redhat.com
Subject: Re: MI: asynchronous operation details
Date: Tue, 22 Nov 2005 12:07:00 -0000 [thread overview]
Message-ID: <200511221507.13272.ghost@cs.msu.su> (raw)
In-Reply-To: <159126900511220107j13f8efecr@mail.gmail.com>
On Tuesday 22 November 2005 12:07, you wrote:
> > so, in MI mode if I emit "-exec-continue" gdb starts inferiour and
> > immediately gives me back the prompt, accepting further commands.
>
> Who said it accepts commands? My gdb (6.3) does not.
Well, it gives back command prompt. That's what I meant ;-)
> > However, I can't:
> > 1. Understand what commands can meaningfully be issued while the inferior
> > is running. Say, all data read/write commands are likely to produce
> > inconsistent results if inferior is running.
> > 2. Practically figure out which commands can be issued at all. Say, both
> > -data-evaluate-expression and -exec-continue just hang, returning
> > nothing. This is with CVS HEAD.
> >
> > Do I understand correctly that asynchronous MI just don't exist in CVS
> > HEAD, and only command prompt loop is asynchronous? Even if so, and fully
> > asynchronous MI is coming, what's the answer to question (1) above?
>
> Actually, MI also works synchonously. So for 1-2 the answer is "There
> are no such commands."
> And morover, you cannot issue the command while the inferior is
> running. Gdb will process the input only when the execution stops.
> As for me, I always ignore "(gdb)" prompt since it means nothing and
> made a frontend work with gdb synchronously (I.e. wait for one answer
> before sending another command.).
Hmm.. that's what I do also -- I just wait for the "*stopped" response.
- Volodya
next prev parent reply other threads:[~2005-11-22 12:07 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-22 8:33 Vladimir Prus
2005-11-22 9:07 ` Konstantin Karganov
2005-11-22 12:07 ` Vladimir Prus [this message]
2005-11-22 12:13 ` Bob Rossi
2005-11-22 12:20 ` Vladimir Prus
2005-11-22 13:38 ` Bob Rossi
2005-11-22 13:49 ` Vladimir Prus
2005-11-22 14:00 ` Bob Rossi
2005-11-22 14:12 ` Vladimir Prus
2005-11-22 14:19 ` Daniel Jacobowitz
2005-11-22 20:39 ` Nick Roberts
[not found] ` <200511230931.50438.ghost@cs.msu.su>
2005-11-23 9:31 ` Nick Roberts
2005-11-22 20:04 ` Eli Zaretskii
2005-11-22 14:59 ` How can I unsubscribe? Gengis Toledo
2005-11-22 15:11 ` Daniel Jacobowitz
2005-11-22 15:02 ` Daniel Jacobowitz
2005-11-22 16:48 ` Christopher Faylor
2005-11-22 18:42 ` Dave Korn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200511221507.13272.ghost@cs.msu.su \
--to=ghost@cs.msu.su \
--cc=gdb@sources.redhat.com \
--cc=karganov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox