summaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2020-02-27 14:05:49 -0700
committerTom Tromey <tromey@adacore.com>2020-02-27 14:56:35 -0700
commit317f712722993375935ff8f992410435fb8e2b27 (patch)
tree26e6a11a42a0409fdc52231aabd3010c10613104 /gdb/ChangeLog
parent5f6028029146629b5fd5732e20c600b5837c20a9 (diff)
downloadbinutils-gdb-317f712722993375935ff8f992410435fb8e2b27.tar.gz
Remove field_info::nfields member
I noticed that there's no real reason to have field_info::nfields in the DWARF reader. It simply mirrors information that is already available. This patch removes it, in favor of a convenience method. gdb/ChangeLog 2020-02-27 Tom Tromey <tromey@adacore.com> * dwarf2/read.c (struct field_info) <nfields>: Now a method, not a member. (dwarf2_add_field): Don't update nfields. (dwarf2_attach_fields_to_type, process_structure_scope): Update.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4376161673b..d99c1784f8b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2020-02-27 Tom Tromey <tromey@adacore.com>
+
+ * dwarf2/read.c (struct field_info) <nfields>: Now a method, not a
+ member.
+ (dwarf2_add_field): Don't update nfields.
+ (dwarf2_attach_fields_to_type, process_structure_scope): Update.
+
2020-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
* gdbtypes.c (create_array_type_with_stride): Use std::abs not