|
From: Siddharth N. <si...@gm...> - 2012-08-06 17:29:54
|
On 6 August 2012 07:56, Josef Weidendorfer <Jos...@gm...>wrote: > 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). > > I see. I didn't have the latest README_DEVELOPERS from trunk which mentions this. > Josef > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |