This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] gcj PR debug/40990
- From: Dodji Seketeli <dodji at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>, Tom Tromey <tromey at redhat dot com>
- Date: Mon, 10 Aug 2009 12:34:11 +0200
- Subject: Re: [RFA] gcj PR debug/40990
- References: <4A7C8E31.3020207@redhat.com> <4A7FEECC.1010302@redhat.com>
Hello Andrew,
Le 10/08/2009 11:56, Andrew Haley a écrit :
> Mmm, looks OK, but can you tell me what actual effect this has on
> debuginfo?
lang_printable_name is the function that eventually gets called by the
dwarf emitter when it wants to print a decl name into, say, the
.debug_pubnames section.
As implied in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40990 , that
function was spitting the name of the function but also the parameters etc.
Whereas only the name was expected.
So the patch makes the .debug_pubnames section contain only the function
name. Not the parameter names.
But Tom noticed offline that the patch also prevents the function to output
qualified decl names. That's a problem. I'll come up with a better patch then.
Sorry for the noise.
--
Dodji Seketeli
Red Hat