diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-05-31 12:33:32 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-05-31 12:33:32 -0400 |
commit | 9ea36493f6e9963cbe09f1c72fbc50a732d5a932 (patch) | |
tree | 8f0b4a938e7df4a6781dcd42c98d5d1e743d87ad /gdb/ChangeLog | |
parent | 46c6bcf650644ae22941ccb49dfe5fbb6e185513 (diff) | |
download | gdb-9ea36493f6e9963cbe09f1c72fbc50a732d5a932.zip gdb-9ea36493f6e9963cbe09f1c72fbc50a732d5a932.tar.gz gdb-9ea36493f6e9963cbe09f1c72fbc50a732d5a932.tar.bz2 |
gdb: pass signature to allocate_signatured_type and signatured_type constructor
All signatured_type constucted (even those used only for lookups in hash
maps) need a signature. Enforce that by passing the signature all the
way to the signatured_type constructor.
gdb/ChangeLog:
* dwarf2/read.h (struct structured_type) <signatured_type>: New.
Update all callers.
(struct dwarf2_per_bfd) <allocate_signatured_type>: Add
signature parameter, update all callers.
* dwar2/read.c (dwarf2_per_bfd::allocate_signatured_type): Add
signature parameter.
Change-Id: I99bc1f88f54127666aa133ddbbabb7f7668fa14a
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 98afac5..7581c09 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,14 @@ 2021-05-31 Simon Marchi <simon.marchi@polymtl.ca> + * dwarf2/read.h (struct structured_type) <signatured_type>: New. + Update all callers. + (struct dwarf2_per_bfd) <allocate_signatured_type>: Add + signature parameter, update all callers. + * dwar2/read.c (dwarf2_per_bfd::allocate_signatured_type): Add + signature parameter. + +2021-05-31 Simon Marchi <simon.marchi@polymtl.ca> + * dwarf2/read.h (signatured_type_up): New, use where possible. 2021-05-31 Simon Marchi <simon.marchi@polymtl.ca> |