From: Vladimir Prus <ghost@cs.msu.su>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: gdb@sources.redhat.com
Subject: Re: MI: is target running
Date: Fri, 18 Nov 2005 14:44:00 -0000 [thread overview]
Message-ID: <200511181744.05052.ghost@cs.msu.su> (raw)
In-Reply-To: <17277.55557.315710.118933@kahikatea.snap.net.nz>
On Friday 18 November 2005 16:37, you wrote:
> > So, for "run" command embedded in gdb macro invoked via "interpreter
> > console", there's no "^running" in the output. So, GUI can't detect that
> > the target is running.
>
> [Generally myrun is referred a "user-defined command"]
>
> I don't quite understand your example as this is also true if you just do:
>
> interpreter console run
>
> i.e. it is a consequence of using CLI within MI and not just one of
> invoking a user-defined command.
Yes, but for plain old run I can just compare command being run with "run"
literal. For user-defined-command, it's simply not possible.
> > Is this a defect? Should not "^running" be emitted in all cases when
> > target starts running?
>
> Yes, I think it should. I have made changes to GDB, based on Apple's work,
> that makes GDB run asynchronously. This means that the state of the
> inferior is reported regardless of whether the command executed was from MI
> or CLI.
Cool. But what does "asynchronously" means, exactly?
> After the release, I will make a branch for these changes and hope that
> they can be merged in to mainline for the release after. I will welcome
> any help with that effort.
I hope to check that branch out.
- Volodya
next prev parent reply other threads:[~2005-11-18 14:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-18 12:43 Vladimir Prus
2005-11-18 13:37 ` Nick Roberts
2005-11-18 14:44 ` Vladimir Prus [this message]
[not found] ` <200511181740.48427.ghost@cs.msu.su>
2005-11-19 9:04 ` Nick Roberts
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=200511181744.05052.ghost@cs.msu.su \
--to=ghost@cs.msu.su \
--cc=gdb@sources.redhat.com \
--cc=nickrob@snap.net.nz \
/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