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][C++] Fix PR29433, make C++ use a lot less time/memory


On Wed, Dec 13, 2006 at 04:02:03PM +0100, Michael Matz wrote:
> > So, some people argue strongly for showing typedefs; others argue 
> > strongly against it. Ideally, the debug information would show the 
> > typedef, and the debugger could decide whether to show the typedef name 
> > or the type referred to by the typedef.
> 
> Yes, ideally.  But gdb hackers are so rare that I wouldn't hold my breath.  
> Let's assume that we won't easily get support for fancy DWARF annotation 
> in gdb soon, i.e. that for now we have to live with single DW_AT_name 
> stuff.  Would you prefer us continue emitting the huge strings or smaller 
> versions (mangled or cutdown by the rules I wrote in my other mail)?

If only you had a GDB hacker right here!  Hi, I'm the maintainer of C++
support in GDB.

I think we should work on both emiting the template DIEs and on
cut-down mangled names.  Both, as I explained earlier, are going to
require a certain amount of work from GDB.  But I can volunteer to
handle that as soon as I can find the time - though I can't commit to
handling it quickly unless someone wants to pay CodeSourcery for it :-(

-- 
Daniel Jacobowitz
CodeSourcery


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