File: 13_fix-path-to-vgdb.patch

package info (click to toggle)
valgrind 1%3A3.25.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 180,392 kB
  • sloc: ansic: 827,945; exp: 26,134; xml: 23,776; asm: 14,769; cpp: 9,431; makefile: 7,680; sh: 6,687; perl: 5,451; python: 1,498; javascript: 981; awk: 166; csh: 1
file content (28 lines) | stat: -rw-r--r-- 1,269 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Fix path to vgdb executable in output message
Origin: vendor
Bug-Debian: http://bugs.debian.org/942532
Author: Alessandro Ghedini <ghedo@debian.org>

--- a/coregrind/m_gdbserver/remote-utils.c
+++ b/coregrind/m_gdbserver/remote-utils.c
@@ -360,8 +360,7 @@
       VG_(umsg)("TO CONTROL THIS PROCESS USING vgdb (which you probably\n"
                 "don't want to do, unless you know exactly what you're doing,\n"
                 "or are doing some strange experiment):\n"
-                "  %s/../../bin/vgdb%s%s --pid=%d ...command...\n",
-                VG_(libdir),
+                "  /usr/bin/vgdb%s%s --pid=%d ...command...\n",
                 (VG_(arg_vgdb_prefix) ? " " : ""),
                 (VG_(arg_vgdb_prefix) ? VG_(arg_vgdb_prefix) : ""),
                 pid);
@@ -374,9 +373,8 @@
          "TO DEBUG THIS PROCESS USING GDB: start GDB like this\n"
          "  /path/to/gdb %s\n"
          "and then give GDB the following command\n"
-         "  target remote | %s/../../bin/vgdb%s%s --pid=%d\n",
+         "  target remote | /usr/bin/vgdb%s%s --pid=%d\n",
          VG_(args_the_exename),
-         VG_(libdir),
          (VG_(arg_vgdb_prefix) ? " " : ""),
          (VG_(arg_vgdb_prefix) ? VG_(arg_vgdb_prefix) : ""),
          pid