db514f20f2
The previous state machine would happily pick up random names if the struct had no name of its own. This was picking up typedefs of random structs and making things really confusing. Now the rule is that unnamed structs are not printed. Unnamed structs are usually implementation details so their size is not really useful. Also made the parsing state machine for objdump outputs more resilient to these sort of issues. Also changed structs.py to also report unions if they have a name.