This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/14160] function field's "physname" is wrong
- From: "qiyao at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 24 May 2012 15:06:23 +0000
- Subject: [Bug c++/14160] function field's "physname" is wrong
- Auto-submitted: auto-generated
- References: <bug-14160-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14160
Yao Qi <qiyao at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |qiyao at gcc dot gnu.org
--- Comment #1 from Yao Qi <qiyao at gcc dot gnu.org> 2012-05-24 15:06:23 UTC ---
(In reply to comment #0)
> The physname field for a fn_field is supposed to hold
> the mangled name.
I noticed this problem yesterday. Looks field 'physname' is set by the return
value of dwarf2_physname, which returns canonicalized string, instead of
mangled name.
> Various code in gdb assumes this; e.g., passes the name to
> is_constructor_name.
Yeah, the bottom part of gnu-v3-abi.c:gnuv3_pass_by_reference is affected by
this problem.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.