[GCC-XML] Adding function content to xml output file

Brad King brad.king at kitware.com
Thu Sep 29 09:18:57 EDT 2005


Yair Raz wrote:
> I just downloaded and tried gccxml. As I read in the FAQ, the C function 
> bodies (the actual code) is not dumped in the XML file.
> 
> Has anyone added that feature to the product? If not, how can I add it?

It will be a major undertaking to add function body support.  You'll 
have to learn GCC internals and extend GCC-XML's GCC/gcc/cp/xml.c source 
file.  Look in cp-tree.h next to it for some help on the internal GCC 
representation.

-Brad



More information about the gccxml mailing list