Package: valgrind
Version: 1:3.7.0-1+b1
Severity: important
Tags: patch sid

The script callgrind_control searches for the valgrind process, but
Debian puts a wrapper around these,
so it does not find it. This makes the callgrind functionality less usable.

The following patch fixes the problem:

--- /home/home_dev/apel/callgrind_control       2012-02-09
09:49:10.000000000 +0100
+++ /usr/bin/callgrind_control  2012-01-14 23:00:47.000000000 +0100
@@ -29,7 +29,7 @@
   @pids = ();
   open LIST, "vgdb -l|";
   while(<LIST>) {
-      if (/^use --pid=(\d+) for \S*?valgrind.bin\s+(.*?)\s*$/) {
+      if (/^use --pid=(\d+) for \S*?valgrind\s+(.*?)\s*$/) {
          $pid = $1;
          $cmd = $2;
          if (!($cmd =~ /--tool=callgrind/)) { next; }



-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable'), (200, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages valgrind depends on:
ii  libc6                         2.13-26    Embedded GNU C Library:
Shared lib
ii  libc6-dbg                     2.13-26    Embedded GNU C Library:
detached d

Versions of packages valgrind recommends:
ii  gdb                  7.4-1~cvs20111117.2 The GNU Debugger

Versions of packages valgrind suggests:
pn  alleyoop                      <none>     (no description available)
ii  kcachegrind                   4:4.7.4-2  visualisation tool for the
Valgrin
pn  valkyrie                      <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to