[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:
parent
26747d0053
commit
907831071f
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue