From: Tom Tromey <tromey@redhat.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb@sourceware.org, Matt Rice <ratmice@gmail.com>,
Stan Shebs <stanshebs@earthlink.net>
Subject: Re: Toward multicore GDB - Set theory
Date: Tue, 08 Nov 2011 15:04:00 -0000 [thread overview]
Message-ID: <m3zkg6k662.fsf@fleche.redhat.com> (raw)
In-Reply-To: <201111081450.30461.pedro@codesourcery.com> (Pedro Alves's message of "Tue, 8 Nov 2011 14:50:30 +0000")
>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
Pedro> That is [TRIGGER-SET] is a prefix, because it really is
Pedro> the same meaning as applying the prefix in other commands.
Pedro> That is, "the command applies to this set". For breakpoints,
Pedro> it naturally means "the breakpoint applies/triggers to/on
Pedro> this set". For "continue" it'd mean "continue this set",
Pedro> for print, it'd mean "print this expression in the context
Pedro> of this set", etc., etc..
There is a subtle difference, though, between break and other commands.
Because breakpoints re-set, the trigger set must be captured and
re-evaluated at re-set.
I think it is all ok though. It is slightly weird but I think we can
explain it adequately to users.
Pedro> The "-stop" option is required when specifying a
Pedro> stop set (compared to not requiring "-stop" and just
Pedro> accepting the [] part, and LINESPEC is last. This gets rid
Pedro> of LINESPEC ambiguity with obj-c at least, and leaves a saner
Pedro> path open for other future options too. I've left the
Pedro> `--' option separator too for the same reason (like in your
Pedro> info macro & friends changes).
Sounds very good to me.
I think this is going to interact with my ambiguous breakpoint /
linespec changes. At various points in the new code, linespec iterates
over program spaces; this should be filtered according to the trigger
set. I am wondering whether you are basing your work on this patch set,
and if not, how we can best manage the changes. I would rather not be
in a race to finish, but instead talk about how we can best cooperate.
Tom
next prev parent reply other threads:[~2011-11-08 15:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-02 0:04 Stan Shebs
2011-11-03 21:01 ` Tom Tromey
2011-11-04 13:20 ` Pedro Alves
2011-11-07 17:38 ` Joel Brobecker
2011-11-08 1:14 ` Daniel Jacobowitz
2011-11-08 5:17 ` Matt Rice
2011-11-08 14:50 ` Pedro Alves
2011-11-08 15:04 ` Tom Tromey [this message]
2011-11-08 15:45 ` Pedro Alves
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=m3zkg6k662.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb@sourceware.org \
--cc=pedro@codesourcery.com \
--cc=ratmice@gmail.com \
--cc=stanshebs@earthlink.net \
/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