I've tried running valgrind (memcheck and massif) on an app I wrote, but all I get back are addresses for the functions that executed.
--------------------------------- Context accounted for 0.6% of measured spacetime 0x805F29A: (within prog_name) 0x8141740: (within prog_name) Called from: 0.6% : 0x812E077: (within prog_name) --------------------------------- Context accounted for 0.5% of measured spacetime 0x805F29A: (within prog_name) 0x81418FB: (within prog_name) Called from: 0.5% : 0x812E077: (within prog_name) I compiled my app with the -g flag to put the debugging symbols in. Is there any other reason why valgrind wouldn't show the source line?
EDIT: valgrind version 3.2.1-Debian; g++ 4.3.1
gdb prog_nameyour app and try something likebreak 0x812E077, doesgdbshow line numbers? (You shouldn't need to evenrunthe program, just havegdbload it.)break *0x812E077. But glad you found a fix.