I have started a new patch of the svn latest trunk that is much cleaner. The only changes to the gcc code are to make the --wrap functions work(splitting up the tree-dump.c into multiple files and making the data global)
I still have to clean up the Makefile.in that is a bit hacky.
the new itrspct subdir is treated as a language, so that it can be configured properly.
the xml is created out of the wrapper functions semi automatically. the later versions will use th e data extracted to create the wrappers themselves.
an example xml file and xsl file are provided, as well as the cc1 binary that emits the xml to the stdout. (wrapping the toplev_main as the root element).
more to come. this is a good restart.