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] New: function field's "physname" is wrong


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.


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