Jarek: > > Sorry for that question > > can someone tell me how shall I modify makefile to > > test my program with Valgrind? > > > > adding CFLAGS=-g is enough or shall I do something else? Soeren: > Adding debug options should be sufficient to enable code line > traceback. AFAIK other compile options are not needed. see http://grass.osgeo.org/wiki/Bugs