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

Iwan Birrer (ETHZ) ibirrer at control.ee.ethz.ch
Fri Sep 30 01:51:09 EDT 2005


Have a look at srcML (http://www.sdml.info/projects/srcml/). It produces 
XML output for C, C++ and Java (including bodies). We've developed an 
aspect weaver on top of srcML (http://xweaver.sf.net).

-Iwan

Brad King wrote:

> 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
> _______________________________________________
> gccxml mailing list
> gccxml at gccxml.org
> http://www.gccxml.org/mailman/listinfo/gccxml
>
>




More information about the gccxml mailing list