Is there any gcc option I can set that will give me the line number of the segmentation fault?
I know I can:
Run it under valgrind.