From: Daniel Jacobowitz <drow@false.org>
To: Pedro Alves <pedro@codesourcery.com>
Cc: Vladimir Prus <vladimir@codesourcery.com>, gdb-patches@sourceware.org
Subject: Re: [MI non-stop 06/11, RFA/RFC] Report non-stop availability, and allow to enable everything with one command.
Date: Tue, 05 Aug 2008 18:28:00 -0000 [thread overview]
Message-ID: <20080805182735.GA7381@caradoc.them.org> (raw)
In-Reply-To: <200808051730.53218.pedro@codesourcery.com>
On Tue, Aug 05, 2008 at 05:30:50PM +0100, Pedro Alves wrote:
> On Monday 04 August 2008 13:58:57, Vladimir Prus wrote:
> > The question is why the connection setup needs to know if we're in
> > non-stop, and why -- which question we discuss below.
You have to know whether you're connecting in non-stop, because if you
connect in all-stop the target might have to stop a running thread
that it would leave running if you connected in non-stop.
I can't follow all the possibilities being juggled in this
conversation. But why not just set non-stop in advance, regardless of
the target, and then issue an error at run / target remote / wherever
if non-stop is not available?
> We leaves some slack to add new modes like this, which would
> combine (1) and (2):
>
> set prefered-execution-mode
> "all-stop"
> prefer all-stop, but if the target doesn't support it, fine.
> "non-stop"
> prefer non-stop, but if the target doesn't support it, fine.
> "force-all-stop"
> require all-stop, fail if the target refuses it.
> "force-non-stop"
> require all-stop, fail if the target refuses it.
Please don't, the user should know what they get.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2008-08-05 18:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-28 16:57 Vladimir Prus
2008-07-11 13:34 ` Pedro Alves
2008-07-23 7:48 ` Vladimir Prus
2008-07-28 17:58 ` Pedro Alves
2008-08-04 12:59 ` Vladimir Prus
2008-08-05 16:31 ` Pedro Alves
2008-08-05 18:28 ` Daniel Jacobowitz [this message]
2008-08-05 19:09 ` Pedro Alves
2008-08-12 6:10 ` Vladimir Prus
2008-08-12 12:09 ` Daniel Jacobowitz
2008-08-12 12:47 ` Vladimir Prus
2008-08-12 13:01 ` Daniel Jacobowitz
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=20080805182735.GA7381@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.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