gdb: add type::num_fields / type::set_num_fields
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 4662ff34923e2cd2f9079f389acac42dce3f22fc..9656bf907d908c214860a5f4c35f5afec57d61e7 100644 (file)
@@ -1,3 +1,11 @@
+2020-05-22  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (struct type) <num_fields, set_num_fields>: New
+       methods.
+       (TYPE_NFIELDS): Use type::num_fields.  Change all call sites
+       that modify the number of fields to use type::set_num_fields
+       instead.
+
 2020-05-22  Tom Tromey  <tromey@adacore.com>
 
        * compile/compile-object-load.h (munmap_list_free): Don't
This page took 0.024635 seconds and 4 git commands to generate.