aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile/scm-param.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-03-10 20:47:06 -0700
committerTom Tromey <tom@tromey.com>2018-03-11 21:06:41 -0600
commitbe2daae6b8df45f3f6de5d94a1938cef54336a72 (patch)
treee7ac98e2b8e56b8a943fb78bcbdf90903ffc44bc /gdb/guile/scm-param.c
parent484cf504af0e9403e3437a5d2c5fb361c73daa90 (diff)
downloadgdb-be2daae6b8df45f3f6de5d94a1938cef54336a72.zip
gdb-be2daae6b8df45f3f6de5d94a1938cef54336a72.tar.gz
gdb-be2daae6b8df45f3f6de5d94a1938cef54336a72.tar.bz2
Use std::vector for field lists in dwarf2read.c
This changes dwarf2read.c to use std::vector rather than a linked list when managing the fields and base classes to be added to a type. This removes some bookkeeping types and also allows the removal of some cleanups. gdb/ChangeLog 2018-03-11 Tom Tromey <tom@tromey.com> * dwarf2read.c (struct nextfield): Add initializers. (struct nextfnfield): Remove. (struct fnfieldlist): Add initializers. Remove "length" and "head", use std::vector. (struct decl_field_list): Remove. (struct field_info): Add initializers. <fields, baseclasses>: Now std::vector. <nbaseclasses, nfnfields, typedef_field_list_count, nested_types_list_count>: Remove. (dwarf2_add_field, dwarf2_add_type_defn) (dwarf2_attach_fields_to_type, dwarf2_add_member_fn) (dwarf2_attach_fn_fields_to_type, handle_struct_member_die) (process_structure_scope): Update.
Diffstat (limited to 'gdb/guile/scm-param.c')
0 files changed, 0 insertions, 0 deletions