|
From: Josef W. <Jos...@gm...> - 2012-08-06 12:02:32
|
Am 05.08.2012 00:43, schrieb Siddharth Nilakantan: > When I run it normally, it runs fine as shown above. However, when I run > it under gdb: > $ gdb /usr/local/lib/valgrind/callgrind-amd64-linux > (gdb)*r ./blackscholes 1 in_4.txt prices.txt* You forgot the command line option "--tool=callgrind": (gdb) r --tool=callgrind ./blackscholes ... This is needed to not confuse the function redirection stuff (I think if the --tool option is not given, it partly configures for a memcheck run). Josef |