public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14160] New: function field's "physname" is wrong
@ 2012-05-24 14:56 tromey at redhat dot com
  2012-05-24 15:06 ` [Bug c++/14160] " qiyao at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tromey at redhat dot com @ 2012-05-24 14:56 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-12-14 20:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-24 14:56 [Bug c++/14160] New: function field's "physname" is wrong tromey at redhat dot com
2012-05-24 15:06 ` [Bug c++/14160] " qiyao at gcc dot gnu.org
2012-05-24 15:38 ` keiths at redhat dot com
2012-05-24 16:00 ` tromey at redhat dot com
2012-05-25 20:07 ` tromey at redhat dot com
2012-06-05 20:49 ` tromey at redhat dot com
2012-12-14 20:33 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).