[RFA/testsuite] Cleanup pending breakpoints
Keith Seitz
keiths@redhat.com
Fri Apr 26 20:45:00 GMT 2013
On 04/26/2013 10:44 AM, Pedro Alves wrote:
> If in the end, there's no use in the tree for an "allow-pending"
> option that allows pending but doesn't fail with a regular
> non-pending breakpoint, in addition to a new "pending" option that
> _requires_ pending, then I'd rather eliminate "allow-pending".
Right, that's what I meant -- remove "allow-pending" and add "pending".
I suggest for the immediate time, we/I introduce "pending" (i.e, fail if
regular BP set), and then we/I can go back and take a look at all the
users of allow-pending and ascertain whether they would work (or were
supposed to work) if a normal breakpoint was set.
From the dozen cases or two that I've already looked at (or written),
all were really of the required type not optional type, i.e., the test
was written specifically for a pending breakpoint; a regular breakpoint
would break the test.
Keith
More information about the Gdb-patches
mailing list