scripts/see-deps
author deba
Wed, 06 Sep 2006 10:19:57 +0000
changeset 2202 09cbc87cb4ab
parent 2169 9f71586a3f74
permissions -rwxr-xr-x
New map type based on array map for debugging purpose

It checks multiple allocation and deallocation of map values and
some consistency.

todo:
clarification of debugging concepts
assertions - exceptions - debug
revision of attic/debug.h

motto:
testing is at least so important as coding
     1 #!/bin/bash
     2 
     3 echo '#include<'$1'>' >seedeps_tmp.cc
     4 gcc -MM -I. -I.. -I../.. $2 seedeps_tmp.cc|tr ':' ' '|tr '\' ' '|tr ' ' '\n'|
     5 egrep -v '^$'|egrep -v '.o$'|egrep -v '.cc$'|grep -v '^'$1'$'|sort
     6 rm seedeps_tmp.cc