[CLASSES]: Show all structs, not just the ones with holes

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2006-11-05 18:32:20 -02:00
parent d2c9a9d726
commit fd1b258e1b
1 changed files with 1 additions and 4 deletions

View File

@ -698,11 +698,8 @@ void cu__print_classes(const unsigned int tag)
list_for_each_entry(class_pos, &cu_pos->classes, node)
if (class_pos->tag == tag && class_pos->name != NULL) {
if (tag == DW_TAG_structure_type) {
if (tag == DW_TAG_structure_type)
class__find_holes(class_pos, cu_pos);
if (class_pos->nr_holes == 0)
continue;
}
class__print(class_pos, cu_pos);
}
}