]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fixes for interactive control:
authorJosef Weidendorfer <Josef.Weidendorfer@gmx.de>
Fri, 21 Apr 2006 00:58:58 +0000 (00:58 +0000)
committerJosef Weidendorfer <Josef.Weidendorfer@gmx.de>
Fri, 21 Apr 2006 00:58:58 +0000 (00:58 +0000)
commitbc616b8492fa2e64c11df25f423aad708cdf723a
tree7a60bbd144dc0207c47d8516d609437135cbe49e
parente717ec89e9bd5cd6a62183aad4584b04b279768a
Fixes for interactive control:

- callgrind_control was not working, because it checks the
  "command syntax version" to be at most 1 before doing anything.
  But callgrind used Valgrinds version for this (3.2.0). Now we
  define a separate version COMMAND_VERSION for the syntax format
  of control and result files.
  Strictly, such a version is not needed for interaction of
  callgrind and the script callgrind_control itself, as they are
  delivered in the same package. But there are also external
  controlling tools (most notable KCachegrind)

- Some systems make it difficult for callgrind_control to
  automatically detect running callgrind processes. To make
  interactivity work, one has to provide the cwd with -w.
  For commands expecting a result from callgrind, this result
  was delivered in the wrong result file.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5861
callgrind/callgrind_control.in
callgrind/command.c