aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-08-25 00:09:14 +0000
committerDoug Evans <dje@google.com>2010-08-25 00:09:14 +0000
commit673bfd454bcb059022eb237ccae068c6a4446e49 (patch)
tree4a23be93b2906efb63a8b34111eb0f8f6c355b90 /gdb/ChangeLog
parent1e30cf071474933e8dc1b3ebb88d6cff7784ae70 (diff)
downloadgdb-673bfd454bcb059022eb237ccae068c6a4446e49.zip
gdb-673bfd454bcb059022eb237ccae068c6a4446e49.tar.gz
gdb-673bfd454bcb059022eb237ccae068c6a4446e49.tar.bz2
PR symtab/11942
* dwarf2read.c (dwarf2_per_objfile): New members debug_info_type_hash, debug_types_type_hash. (dwarf2_cu, dwarf2_per_cu_data): Delete member type_hash. All uses updated. (lookup_die_type): Renamed from tag_type_to_tag. First look in appropriate type_hash table. All callers updated. (allocate_signatured_type_table): Renamed from allocate_signatured_type_hash_table. All callers updated. (create_signatured_type_table_from_index): Renamed from create_signatured_type_hash_from_index. All callers updated. (read_die_type): Add comment. Move actual reading to ... (read_die_type_1): ... here. New function. (follow_die_ref_or_sig): Tweak comment. (set_die_type): Rewrite to use appropriate choice of debug_info_type_hash or debug_types_type_hash. (get_die_type_at_offset): New function. (get_die_type): Call it. testsuite/ PR symtab/11942 * gdb.dwarf2/dw4-sig-types.cc: New file. * gdb.dwarf2/dw4-sig-types.h: New file. * gdb.dwarf2/dw4-sig-types-b.cc: New file. * gdb.dwarf2/dw4-sig-types.exp: New file.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d70a5fe..112fe1d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,24 @@
+2010-08-24 Doug Evans <dje@google.com>
+
+ PR symtab/11942
+ * dwarf2read.c (dwarf2_per_objfile): New members debug_info_type_hash,
+ debug_types_type_hash.
+ (dwarf2_cu, dwarf2_per_cu_data): Delete member type_hash.
+ All uses updated.
+ (lookup_die_type): Renamed from tag_type_to_tag. First look in
+ appropriate type_hash table. All callers updated.
+ (allocate_signatured_type_table): Renamed from
+ allocate_signatured_type_hash_table. All callers updated.
+ (create_signatured_type_table_from_index): Renamed from
+ create_signatured_type_hash_from_index. All callers updated.
+ (read_die_type): Add comment. Move actual reading to ...
+ (read_die_type_1): ... here. New function.
+ (follow_die_ref_or_sig): Tweak comment.
+ (set_die_type): Rewrite to use appropriate choice of
+ debug_info_type_hash or debug_types_type_hash.
+ (get_die_type_at_offset): New function.
+ (get_die_type): Call it.
+
2010-08-24 Jan Kratochvil <jan.kratochvil@redhat.com>
* python/py-type.c (typy_richcompare): Initialize worklist.