From: Keith Seitz <keiths@redhat.com>
To: Pedro Alves <palves@redhat.com>
Cc: "gdb-patches@sourceware.org ml" <gdb-patches@sourceware.org>
Subject: Re: [RFA/testsuite] Cleanup pending breakpoints
Date: Fri, 26 Apr 2013 11:37:00 -0000 [thread overview]
Message-ID: <517986D9.3060607@redhat.com> (raw)
In-Reply-To: <5177EDAF.6030107@redhat.com>
On 04/24/2013 07:35 AM, Pedro Alves wrote:
> Whenever you feel compelled to say "also" in a patch description,
> consider splitting the patch in two. ;-) Updating the documentation
> part could go first, and would be clearly an improvement. Extending
> the interface could go afterwards, and that patch would then actually
> be clearer.
I now feel compelled to submit them separately. :-)
>> Comments/questions?
>
> I wonder whether "allow-pending" is the right option for the "pending" tests.
> As in, "allow" != "require". I wonder whether we're losing test
> coverage in those cases?
Well, yes and no. From reading through all the tests, I think the
"allow-pending" option is a bit underdefined/underterministic. Many of
the tests that use it pretty much would fail miserably if a real
breakpoint was set instead, yet "allow-pending" doesn't fail if this
happens.
IMO gdb_breakpoint should set what was requested or FAIL, e.g., if
allow-pending, ONLY pending breakpoint would produce a PASS.
Nonetheless, since we have it already, I have patches now which add a
"pending" option to gdb_breakpoint, meaning that it *must* set a pending
breakpoint. Anything else will FAIL.
Or I can mutate allow-pending to this new pending and eliminate the
ambiguity that allow-pending introduced.
What would you prefer?
Keith
next prev parent reply other threads:[~2013-04-25 19:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-24 12:20 Keith Seitz
2013-04-24 18:24 ` Pedro Alves
2013-04-26 11:37 ` Keith Seitz [this message]
2013-04-26 20:30 ` Pedro Alves
2013-04-26 20:45 ` Keith Seitz
2013-04-26 20:46 ` 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=517986D9.3060607@redhat.com \
--to=keiths@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=palves@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