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: [RFC] canonical linespec and multiple breakpoints ...


> 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.


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