This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/14160] New: function field's "physname" is wrong
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 24 May 2012 14:55:53 +0000
- Subject: [Bug c++/14160] New: function field's "physname" is wrong
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14160
Bug #: 14160
Summary: function field's "physname" is wrong
Product: gdb
Version: 7.4
Status: NEW
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@sourceware.org
ReportedBy: tromey@redhat.com
Classification: Unclassified
The physname field for a fn_field is supposed to hold
the mangled name.
Various code in gdb assumes this; e.g., passes the name to
is_constructor_name.
However, this field is set incorrectly, e.g.:
(top-gdb) p f
$159 = (struct fn_field *) 0x1e11860
(top-gdb) p f.physname
$160 = 0x1e162f0 "WithConstructor<int>::WithConstructor(int)"
--
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.