diff options
author | Tom Tromey <tromey@redhat.com> | 2013-01-14 20:59:27 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-01-14 20:59:27 +0000 |
commit | 06d66ee9d97cf451db4bdd7952eca099bc171706 (patch) | |
tree | 492076e1ff0a1ecf422c8639d8d1efb56a0746af /gdb/ChangeLog | |
parent | c9bf062262da5a158d7a74907f8db2cd6df6bdfd (diff) | |
download | gdb-06d66ee9d97cf451db4bdd7952eca099bc171706.zip gdb-06d66ee9d97cf451db4bdd7952eca099bc171706.tar.gz gdb-06d66ee9d97cf451db4bdd7952eca099bc171706.tar.bz2 |
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9897c9b..9173b57 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,20 @@ 2013-01-14 Tom Tromey <tromey@redhat.com> + 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. + +2013-01-14 Tom Tromey <tromey@redhat.com> + PR symtab/14931: * psymtab.c (struct psymtab_state): New. (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New |