Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Give a better help message for gdbserver when VALGRIND_LIB

is set. This ensures a correct help msg is given when
the valgrind installation is moved, and VALGRIND_LIB is
then set to the new valgrind lib location.
Note it does not improve the help msg when valgrind
is run "in place" (e.g. when using vg-in-place).
(Patch from Paul Pluzhnikov).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12278 a5019735-40e9-0310-863c-91ae7b9d1cf9
  • Loading branch information...
commit de80335ebfdb0ae7f9ccc37aa4682182f3a09eec 1 parent dec4a56
philippe authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 coregrind/m_gdbserver/remote-utils.c
View
4 coregrind/m_gdbserver/remote-utils.c
@@ -269,7 +269,7 @@ void remote_open (char *name)
"don't want to do, unless you know exactly what you're doing,\n"
"or are doing some strange experiment):\n"
" %s/../../bin/vgdb --pid=%d%s%s ...command...\n",
- VG_LIBDIR,
+ VG_(libdir),
pid, (name_default ? "" : " --vgdb-prefix="),
(name_default ? "" : name));
}
@@ -282,7 +282,7 @@ void remote_open (char *name)
"and then give GDB the following command\n"
" target remote | %s/../../bin/vgdb --pid=%d%s%s\n",
VG_(args_the_exename),
- VG_LIBDIR,
+ VG_(libdir),
pid, (name_default ? "" : " --vgdb-prefix="),
(name_default ? "" : name)
);
Please sign in to comment.
Something went wrong with that request. Please try again.