diff options
author | Keven Boell <keven.boell@linux.intel.com> | 2015-03-20 17:45:20 -0400 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2015-03-20 17:52:03 -0400 |
commit | d9823cbb391e015f79687f4d17d7f9a32d27b5eb (patch) | |
tree | b54acb333256046c9cf62f69b5c74db80b8bd081 /gdb/ChangeLog | |
parent | 2e7bf1d7210ee79b93ba9ce4462e22e71097a102 (diff) | |
download | gdb-d9823cbb391e015f79687f4d17d7f9a32d27b5eb.zip gdb-d9823cbb391e015f79687f4d17d7f9a32d27b5eb.tar.gz gdb-d9823cbb391e015f79687f4d17d7f9a32d27b5eb.tar.bz2 |
[gdb/DWARF] Introduce linked list for dynamic attributes
This patch introduces a linked list for dynamic attributes of a type.
This is a pre-work for the Fortran dynamic array support. The Fortran
dynamic array support will add more dynamic attributes to a type.
As only a few types will have such dynamic attributes set, a linked
list is more efficient in terms of memory consumption than adding
multiple attributes to main_type.
gdb/ChangeLog:
* gdbtypes.c (resolve_dynamic_type_internal): Adapt
data_location usage to linked list.
(resolve_dynamic_type_internal): Adapt data_location to
linked list.
(get_dyn_prop, add_dyn_prop, copy_dynamic_prop_list): New function.
(copy_type_recursive, copy_type): Add copy of linked list.
* gdbtypes.h (enum dynamic_prop_node_kind): New enum.
(struct dynamic_prop_list): New struct.
* dwarf2read.c (set_die_type): Set data_location data.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7255533..969faac 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,15 @@ +2015-03-20 Keven Boell <keven.boell@intel.com> + + * gdbtypes.c (resolve_dynamic_type_internal): Adapt + data_location usage to linked list. + (resolve_dynamic_type_internal): Adapt data_location to + linked list. + (get_dyn_prop, add_dyn_prop, copy_dynamic_prop_list): New function. + (copy_type_recursive, copy_type): Add copy of linked list. + * gdbtypes.h (enum dynamic_prop_node_kind): New enum. + (struct dynamic_prop_list): New struct. + * dwarf2read.c (set_die_type): Set data_location data. + 2015-03-20 Pedro Alves <palves@redhat.com> * i386-sol2-tdep.c (i386_sol2_static_transform_name): Move "p" to |