PR symtab/14442:
authorTom Tromey <tromey@redhat.com>
Mon, 14 Jan 2013 20:59:27 +0000 (20:59 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 14 Jan 2013 20:59:27 +0000 (20:59 +0000)
commit06d66ee9d97cf451db4bdd7952eca099bc171706
tree492076e1ff0a1ecf422c8639d8d1efb56a0746af
parentc9bf062262da5a158d7a74907f8db2cd6df6bdfd
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.
gdb/ChangeLog
gdb/c-typeprint.c
gdb/dwarf2read.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-restrict.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-restrict.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-restrict.exp [new file with mode: 0644]