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 symtab/14442] Need to support DW_TAG_restrict_type


http://sourceware.org/bugzilla/show_bug.cgi?id=14442

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2013-01-14 20:59:31 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2013-01-14 20:59:27

Modified files:
    gdb            : ChangeLog c-typeprint.c dwarf2read.c gdbtypes.c 
                     gdbtypes.h 
    gdb/testsuite  : ChangeLog 
Added files:
    gdb/testsuite/gdb.dwarf2: dw2-restrict.S dw2-restrict.c 
                              dw2-restrict.exp 

Log message:
    PR symtab/14442:
    * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
    (c_type_print_modifier): Likewise.
    * dwarf2read.c (read_tag_restrict_type): New function.
    (read_type_die_1): Handle DW_TAG_restrict_type.
    * gdbtypes.c (make_restrict_type): New function.
    (recursive_dump_type): Handle TYPE_RESTRICT.
    * gdbtypes.h (enum type_flag_values): Renumber.
    (enum type_instance_flag_value): Add
    TYPE_INSTANCE_FLAG_RESTRICT.
    (TYPE_RESTRICT): New macro.
    (make_restrict_type): Declare.
    gdb/testsuite
    * gdb.dwarf2/dw2-restrict.S: New file.
    * gdb.dwarf2/dw2-restrict.c: New file.
    * gdb.dwarf2/dw2-restrict.exp: New file.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15015&r2=1.15016
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-typeprint.c.diff?cvsroot=src&r1=1.89&r2=1.90
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.729&r2=1.730
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbtypes.c.diff?cvsroot=src&r1=1.246&r2=1.247
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbtypes.h.diff?cvsroot=src&r1=1.178&r2=1.179
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3505&r2=1.3506
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw2-restrict.S.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw2-restrict.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw2-restrict.exp.diff?cvsroot=src&r1=NONE&r2=1.1

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