This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/testsuite] Cleanup pending breakpoints


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]