aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-07-16 03:22:40 +0000
committerDoug Evans <dje@google.com>2012-07-16 03:22:40 +0000
commit094b34ac0b0bca39ecc6b7fd8a97934695079729 (patch)
tree4d057f8dee8319199724362980e900373324e5c2 /gdb/ChangeLog
parent2908cac625ad01a06f4193761a1b4d2f3779b923 (diff)
downloadbinutils-094b34ac0b0bca39ecc6b7fd8a97934695079729.zip
binutils-094b34ac0b0bca39ecc6b7fd8a97934695079729.tar.gz
binutils-094b34ac0b0bca39ecc6b7fd8a97934695079729.tar.bz2
* dwarf2read.c (stmt_list_hash): New struct.
(type_unit_group): Embed "per_cu" member, remove pointer. New union member "t", move member "tus" into it, all uses updated. New member "hash", replaces member "line_offset, all uses updated. (quick_file_names): Replace member "offset" with "hash", all uses updated. (hash_stmt_list_entry, eq_stmt_list_entry): New functions. (hash_file_name_entry, eq_file_name_entry): Call them. (hash_type_unit_group, eq_type_unit_group): Ditto. (dw2_get_cu, dw2_get_primary_cu): Replace assert with a better one. (dw2_get_file_names_reader): Fix file name table calculation for TUs. (dw2_get_file_names): Update. (create_type_unit_group): Replace "per_cu" arg with "cu". All callers updated. Fix "quick" (.gdb_index) handling. (get_type_unit_group): Replace "per_cu" arg with "cu". All callers updated. (build_type_unit_groups): Don't reset tu_stats.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6640010..d0aa0b2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,23 @@
2012-07-15 Doug Evans <dje@google.com>
+ * dwarf2read.c (stmt_list_hash): New struct.
+ (type_unit_group): Embed "per_cu" member, remove pointer.
+ New union member "t", move member "tus" into it, all uses updated.
+ New member "hash", replaces member "line_offset, all uses updated.
+ (quick_file_names): Replace member "offset" with "hash", all uses
+ updated.
+ (hash_stmt_list_entry, eq_stmt_list_entry): New functions.
+ (hash_file_name_entry, eq_file_name_entry): Call them.
+ (hash_type_unit_group, eq_type_unit_group): Ditto.
+ (dw2_get_cu, dw2_get_primary_cu): Replace assert with a better one.
+ (dw2_get_file_names_reader): Fix file name table calculation for TUs.
+ (dw2_get_file_names): Update.
+ (create_type_unit_group): Replace "per_cu" arg with "cu".
+ All callers updated. Fix "quick" (.gdb_index) handling.
+ (get_type_unit_group): Replace "per_cu" arg with "cu".
+ All callers updated.
+ (build_type_unit_groups): Don't reset tu_stats.
+
* symtab.c (filename_seen_cache): Delete members "tab_alloc_size",
"tab_cur_size". Change member "tab" to be a htab_t.
(create_filename_seen_cache): Update.