[LIB]: Call cus__emit_ftype_definitions for DW_TAG_subroutine_type in cus__emit_tag_definitions

Thus emitting definitions/forward declarations for the types of function
pointers, not just for the return type of the function pointer.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2007-01-12 14:39:26 -02:00
parent 0905197862
commit 0661f26f9f
1 changed files with 1 additions and 1 deletions

View File

@ -2625,7 +2625,7 @@ next_indirection:
return cus__emit_fwd_decl(self, tag__type(type));
return cus__emit_struct_definitions(self, cu, type, NULL, NULL);
case DW_TAG_subroutine_type:
return cus__emit_tag_definitions(self, cu, type);
return cus__emit_ftype_definitions(self, cu, tag__ftype(type));
}
return 0;