This folder contains scripts to acquire type definitions using gdb.
It uses the CIL output for type names. We can use gdb for this instead 
possibly by using "maint print symbols filename".

Must add this sequence to a single script later:

	1. perl printname.pl --> temp/names.txt
		names.txt contains all the type names from the CIL output
	
	2. perl printgdbscript.pl --> gdbscript.txt
		gdbscript.txt contains the gdb "ptype" commands
		for all type names in names.txt.

	3. perl outputstruct.pl --> structoutput.txt
		invokes commands from gdbscript.txt and outputs
		gdb results to file structoutput.txt.

	4. perl printheader.pl > temp/firstheader.h

	5. perl graph.pl > temp/graph.txt 2> /dev/null

	6. cd sorttypes
	
	7. ./compile.sh

	8. ./run.sh > ../temp/order.txt

	9. cd ..

	10. perl reorder.pl --> temp/types.h	

	11. Manually fix errors

	12. perl anonstructs > typedefs.h 2> /dev/null

