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

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-12-14 20:33:39 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2012-12-14 20:33:30

Modified files:
    gdb            : ChangeLog c-typeprint.c dwarf2read.c gdbtypes.h 
                     gnu-v3-abi.c jv-typeprint.c 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.cp: templates.exp 

Log message:
    Partial fix for PR c++/14160:
    * c-typeprint.c (c_type_print_base): Use TYPE_FN_FIELD_CONSTRUCTOR.
    * dwarf2read.c (dwarf2_is_constructor): New function.
    (dwarf2_add_member_fn): Use it.
    * gnu-v3-abi.c (gnuv3_pass_by_reference): Use
    TYPE_FN_FIELD_CONSTRUCTOR.
    * jv-typeprint.c (java_type_print_base): Use
    TYPE_FN_FIELD_CONSTRUCTOR.
    * gdbtypes.h (struct fn_field) <is_constructor>: New field.
    <dummy>: Shrink.
    (TYPE_FN_FIELD_CONSTRUCTOR): New macro.
    testsuite
    * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14925&r2=1.14926
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-typeprint.c.diff?cvsroot=src&r1=1.87&r2=1.88
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.722&r2=1.723
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbtypes.h.diff?cvsroot=src&r1=1.176&r2=1.177
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gnu-v3-abi.c.diff?cvsroot=src&r1=1.76&r2=1.77
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/jv-typeprint.c.diff?cvsroot=src&r1=1.28&r2=1.29
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3490&r2=1.3491
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/templates.exp.diff?cvsroot=src&r1=1.37&r2=1.38

-- 
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]