Re: [RFC] canonical linespec and multiple breakpoints ...

Joel Brobecker
2011-07-05T15:17:24Z

> > My suggestion, in that case, is to make the list of selected
> > locations static. In other words, we do not add new locations
> > as they get discovered.
>
> I would suggest a slightly different rule: all breakpoints are still
> "multiple" by default. No "static" one. But, in the case of 'set
> multiple-symbols ask' and when one symbol is selected, then a
> breakpoint will be set, whose location will not be ambiguous (it will
> be "canonicalized"). So this "multiple" breakpoint will always
> resolve to only one location. If more than one choice is selected,
> same thing, with one breakpoint per choice.
>
> I'd rather avoid adding a special breakpoint kind for 'ask'. Just to
> keep it simple.

That would be fine with me. But, in a way, you're also deviating
from the general case by going from a one-bp-multiple-loc approach
to a multiple-bp-single-loc approach. Either way, I think it can
raise questions from the user...

--
Joel