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

Eli Zaretskii
2011-05-06T07:16:28Z

> Date: Thu, 5 May 2011 15:40:16 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: gdb-patches@sourceware.org
>
> > E.g., consider the case where a linespec resolves to two locations, one
> > of which does not have debuginfo. What is the canonical linespec for
> > the debuginfo-less location? What if there are three locations and two
> > of them don't have debuginfo? I.e., are those two consolidated into a
> > single breakpoint? What would its canonical linespec be? Or if not
> > consolidated, etc.
>
> I think that, in a case where we have matches in code with debug
> info, we shouldn't even bother looking at code without debugging
> info. I think that this would be reasonable.

Not reasonable enough, IMO: we are silently ignoring some of the
places where the user probably wanted to break. Displaying some
warning about those places without debug info would be good enough,
though.