[LIB]: Make tag__print support DW_TAG_subprogram

Calling function__print.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2007-01-12 16:19:13 -02:00
parent 26747d0053
commit 907831071f
1 changed files with 3 additions and 0 deletions

View File

@ -1938,6 +1938,9 @@ void tag__print(const struct tag *self, const struct cu *cu,
case DW_TAG_structure_type:
class__print(self, cu, prefix, suffix);
break;
case DW_TAG_subprogram:
function__print(self, cu);
break;
default:
printf("%s: %s tag not supported!\n", __FUNCTION__,
dwarf_tag_name(self->tag));