|
From: Philippe W. <phi...@sk...> - 2012-08-05 00:15:52
|
On Sat, 2012-08-04 at 18:43 -0400, Siddharth Nilakantan wrote: > When I run it normally, it runs fine as shown above. However, when I > run it under gdb: It is unclear what you are trying to do. Launching gdb on callgrind-amd64-linux means you will debug the callgrind tool. If this is really what you want to do, then see README_DEVELOPERS that describes how to debug Valgrind and its tools. Otherwise, if you want to debug your application while running under callgrind, you can use the embedded Valgrind gdbserver (see the doc, or give --vgdb-error=0 option and follow instructions on the screen). Philippe |