public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: Vladimir Prus <ghost@cs.msu.su>
Cc: gdb@sources.redhat.com
Subject: MI: is target running
Date: Fri, 18 Nov 2005 13:37:00 -0000	[thread overview]
Message-ID: <17277.55557.315710.118933@kahikatea.snap.net.nz> (raw)
In-Reply-To: <dlki2d$f7j$1@sea.gmane.org>

 > 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.

 > 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.

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.

Nick

  reply	other threads:[~2005-11-18 13:37 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 [this message]
2005-11-18 14:44   ` Vladimir Prus
     [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=17277.55557.315710.118933@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=gdb@sources.redhat.com \
    --cc=ghost@cs.msu.su \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).