Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: Vladimir Prus <vladimir@codesourcery.com>
Cc: gdb-patches@sourceware.org,
	 Marc Khouzam <marc.khouzam@ericsson.com>,
	 laszlo.benedek@ericsson.com
Subject: Re: [RFC] Broken -thread-info output in non-stop mode.
Date: Tue, 17 Mar 2009 06:05:00 -0000	[thread overview]
Message-ID: <200903170530.20077.pedro@codesourcery.com> (raw)
In-Reply-To: <200903161249.19207.vladimir@codesourcery.com>

On Monday 16 March 2009 09:49:18, Vladimir Prus wrote:
> On Sunday 15 March 2009 21:25:13 Pedro Alves wrote:

> Ouch. But wait, how is 'resume' is done? My impression was that all 
> resumptions of the as direct result on user commands are done via
> 'proceed'. Looking at CVS HEAD, I see one use of proceed in 
> proceed_after_attach_callback that I cannot immediately correlate with
> a user command, but all others are clearly correlated. So, maybe MI
> should output ^running only when proceed is called?

You're pretty much right.  If we need to carry the target a bit,
we'll only proceed it in a continuation, or call target_resume
directly.

> Well, they did not output ^running for 10 years, but it does not mean
> it was bad. KDevelop users did complain that issuing CLI commands resulted
> in no feedback that the application is actually running. We can suppress
> this in async mode, but then the solution starts to include so many 
> assumptions that it makes me nervous ;-) 

I take it you'll make KDevelop handle ^done + *running at some
point.  :-)

> Let me know what you think about 
> the proceed idea.

I like it, thanks!  I'm about to post a mini patch series
implementing it.  In the process I cleaned up a few things that
were sort of in the way.

-- 
Pedro Alves


      reply	other threads:[~2009-03-17  5:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-15 19:21 Pedro Alves
2009-03-16 10:03 ` Vladimir Prus
2009-03-17  6:05   ` Pedro Alves [this message]

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=200903170530.20077.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=laszlo.benedek@ericsson.com \
    --cc=marc.khouzam@ericsson.com \
    --cc=vladimir@codesourcery.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