Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dwarves_fprintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ size_t typedef__fprintf(const struct tag *tag, const struct cu *cu,
case DW_TAG_structure_type: {
struct type *ctype = tag__type(tag_type);

if (type__name(ctype) != NULL)
if (type__name(ctype) != NULL && conf->expand_types != true)
return printed + fprintf(fp, "struct %s %s", type__name(ctype), type__name(type));

struct conf_fprintf tconf = *pconf;
Expand Down