From: Doug Evans <dje@google.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org,
Jan Kratochvil <jan.kratochvil@redhat.com>,
pfee@talk21.com
Subject: Re: [RFC] stept, nextt, finisht, untilt, continuet
Date: Fri, 02 Sep 2011 16:48:00 -0000 [thread overview]
Message-ID: <CADPb22SAtmFaMjHBuC5b2AGHScUO8kkdt49ivDMf+_4zSbvchA@mail.gmail.com> (raw)
In-Reply-To: <201108301621.55098.pedro@codesourcery.com>
On Tue, Aug 30, 2011 at 8:21 AM, Pedro Alves <pedro@codesourcery.com> wrote:
> On Tuesday 30 August 2011 16:08:52, Doug Evans wrote:
>> On Tue, Aug 30, 2011 at 7:21 AM, Jan Kratochvil
>> <jan.kratochvil@redhat.com> wrote:
>> > My original post was that I believe the new `*t' commands were invented more
>> > because `set scheduler-locking step' is not default+working. I guess such
>> > idea would not arise at all otherwise. Any new configuration options and/or
>> > more commands are bad when the same functionality can be reached otherwise.
>>
>> My patch is partially because "set scheduler-locking step" doesn't
>> apply to next,
>> but it also doesn't apply to other commands.
>>
>> *And* at least as importantly, if not more so, I don't always want
>> "set scheduler-locking step",
>> and having to remember to switch global state back and forth is
>> extremely clumsy! Blech.
>> In my sessions the setting of scheduler-locking is far more dynamic, a
>> global state setting is the wrong solution.
>>
>> I kinda like adding a new option to step,next,etc., but writing
>> wrappers in python doesn't add new commands to gdb proper.
>> One of the reasons we have python.
>
> I'm currently working towards adding (run control) ptset/itset
> support to gdb. Working on instructure still (I can run all-stop on
> top of a target running in non-stop mode now), and the final syntax
> will obviously need discussion, but I think we could come up with
> syntax for this within that framework.
[responding per suggestion from irc]
Regardless of the ultimate syntax, I'll still find use for "st" and
"nt" (step/next just the current thread).
[possibly the others too, but the frequency is less that having to
type something more than that probably won't be annoying]
[And unless the ultimate syntax is effectively that trivial of course.]
next prev parent reply other threads:[~2011-09-02 16:45 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
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 [this message]
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=CADPb22SAtmFaMjHBuC5b2AGHScUO8kkdt49ivDMf+_4zSbvchA@mail.gmail.com \
--to=dje@google.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=pedro@codesourcery.com \
--cc=pfee@talk21.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