This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [patch] better dwarf2 debug info for inlined functions


On Thu, 2005-07-07 at 16:53 -0700, Geoffrey Keating wrote:
> This particular case is probably one of the greatest single annoyances
> when debugging optimized C++ or vector code.

While I do not know if this is a huge contribution to debug information
(but my un-educated guess tells me that it should be), one thing that
might be done to reduce it is avoid emitting debug info for the C++
library (at least in the standard level of debug information). Most
users would assume that the library just works and do not care to deep
into its implementation when debugging (which is actually an
annoyance). 

And this is somehow coherent with the fact that gcc avoids emitting
warnings in the library.

If this is thought to be a good idea (and not a too difficult task), and
with some help/guidance, I might even try to implement that as it would
be very useful to me (or at least I believe it untill someone explains
me why this might be a very wrong idea :-) ).




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