This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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]

[Bug c++/14160] function field's "physname" is wrong


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.


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