Recognize struct values that are anonymous structs and unions.
commitcc4041874a501818f38736786741356781218188
authorJohannes Sixt <johannes.sixt@telecom.at>
Sun, 31 Dec 2006 22:06:31 +0000 (31 23:06 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Sun, 31 Dec 2006 22:06:31 +0000 (31 23:06 +0100)
treedf5ed48089a89f35533a377bc66b4cd024a97b49
parent51a39763ece2f4eee4089e680d5248d65fb6d84c
Recognize struct values that are anonymous structs and unions.

The pthread_mutex_t of Linux is not parsed correctly because its implementation
uses an anonymous union. With this modification anonymous structs or unions
are parsed correctly as long as they are not the first member of a struct.
kdbg/gdbdriver.cpp
kdbg/testprogs/Makefile.am
kdbg/testprogs/anonstruct.cpp [new file with mode: 0644]