Add support for enum printing.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2006-10-25 12:42:53 -03:00
parent a4e260fc1a
commit 96ef1165ae
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ struct class {
const char *tag_name(const unsigned int tag)
{
switch (tag) {
case DW_TAG_enumeration_type: return "enum ";
case DW_TAG_structure_type: return "struct ";
case DW_TAG_union_type: return "union ";
case DW_TAG_pointer_type: return " *";