This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- From: Daniel Jacobowitz <drow at false dot org>
- To: Michael Matz <matz at suse dot de>
- Cc: Mark Mitchell <mark at codesourcery dot com>, Richard Guenther <rguenther at suse dot de>, Jason Merrill <jason at redhat dot com>, Gabriel Dos Reis <gdr at cs dot tamu dot edu>, Nathan Sidwell <nathan at codesourcery dot com>, Richard Guenther <richard dot guenther at gmail dot com>, gcc-patches at gcc dot gnu dot org, mrs at apple dot com, Paolo Carlini <pcarlini at suse dot de>
- Date: Wed, 13 Dec 2006 13:49:18 -0500
- Subject: Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- References: <457D7AB1.10706@redhat.com> <Pine.LNX.4.64.0612111647520.3105@zhemvz.fhfr.qr> <20061211155733.GA2660@nevyn.them.org> <Pine.LNX.4.64.0612111658590.29962@wotan.suse.de> <20061211174548.GA7094@nevyn.them.org> <Pine.LNX.4.64.0612121519200.29962@wotan.suse.de> <20061212150652.GA18750@nevyn.them.org> <Pine.LNX.4.64.0612121723070.29962@wotan.suse.de> <457EF130.5040902@codesourcery.com> <Pine.LNX.4.64.0612131535100.29962@wotan.suse.de>
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
- References:
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory