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 08/07/2005, at 3:57 AM, Theodore Papadopoulo wrote:


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

I think that templates make that debug information necessary. For instance, I have a user who really needed debug information to work out why istrstream<unsigned short> was throwing a badCast exception.



Attachment: smime.p7s
Description: S/MIME cryptographic signature


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