Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: pfee@talk21.com
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Doug Evans <dje@google.com>, gdb-patches@sourceware.org
Subject: Re: [RFC] stept, nextt, finisht, untilt, continuet
Date: Tue, 30 Aug 2011 12:42:00 -0000	[thread overview]
Message-ID: <1314708109.43672.YahooMailRC@web86707.mail.ird.yahoo.com> (raw)
In-Reply-To: <20110830115627.GA21003@host1.jankratochvil.net>

> > I like the  'step' mode of scheduler-locking, but often wish it applied to 
>the 
>

> >  "next" command, not just step.
> 
> I agree, it does not apply to the  continue-over-call part of `next'.  But 
that
> is a bug which should be  fixed.
> 
> 
> > My suggestion would be to create a "set scheduler-locking  next" mode in 
>which 
>
> > both "step" and "next" operate with other threads  locked out.
> 
> Do you think the "step" mode would be still useful if "next"  exists?

To be honest, I would always use "set scheduler-locking next" if it existed and 
would never use "step" locking mode.

My suggestion was influenced by a desire to minimise the code changes.  It would 
be better for me if "set scheduler-locking step" was replaced with "set 
scheduler-locking  next" though I haven't investigated how easy that would be to 
implement.

Another point, regarding "continue".  In non-stop mode, there's a "-a" flag to 
continue all threads.  Would it be worth using the same flag when in 
scheduler-locking mode to cause the entire process to resume?

Thanks,
Paul


  reply	other threads:[~2011-08-30 12:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-30  1:49 Doug Evans
2011-08-30  9:16 ` Jan Kratochvil
2011-08-30 10:01   ` pfee
2011-08-30 11:56     ` Jan Kratochvil
2011-08-30 12:42       ` pfee [this message]
2011-08-30 14:21         ` Jan Kratochvil
2011-08-30 15:09           ` Doug Evans
2011-08-30 15:22             ` Pedro Alves
2011-08-30 17:13               ` Tom Tromey
2011-08-30 17:29                 ` Pedro Alves
2011-09-02 16:48               ` Doug Evans
2011-08-30 17:00 ` Tom Tromey

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=1314708109.43672.YahooMailRC@web86707.mail.ird.yahoo.com \
    --to=pfee@talk21.com \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.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