Skip to content

Commit e1ec485

Browse files
committed
Update comment for find_field_create_baton
Andrew pointed out that a recent commit neglected to update the comment for find_field_create_baton. This patch fixes the oversight.
1 parent 31fd9be commit e1ec485

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

gdb/dwarf2/read.c

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11236,13 +11236,9 @@ handle_struct_member_die (struct die_info *child_die, struct type *type,
1123611236
handle_variant (child_die, type, fi, template_args, cu);
1123711237
}
1123811238

11239-
/* Create a property baton for a field of the struct type currently
11240-
being processed. OFFSET is the DIE offset of the field in the
11241-
structure. If OFFSET is found among the fields that have already
11242-
been seen, then a new property baton is allocated on the objfile
11243-
obstack and returned. The baton isn't fully filled in -- it will
11244-
be post-processed once the fields are finally created; see
11245-
update_field_batons. If OFFSET is not found, NULL is returned. */
11239+
/* Create a property baton for a field. DIE is the field's DIE. The
11240+
baton's "field" member is filled in, but the other members of the
11241+
baton are not. The new property baton is returned. */
1124611242

1124711243
static dwarf2_property_baton *
1124811244
find_field_create_baton (dwarf2_cu *cu, die_info *die)

0 commit comments

Comments
 (0)