]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
README_DEVELOPERS: Explain how to set VALGRIND_LIB to gdb valgrind
authorMark Wielaard <mark@klomp.org>
Thu, 16 Feb 2023 12:44:08 +0000 (13:44 +0100)
committerMark Wielaard <mark@klomp.org>
Thu, 16 Feb 2023 12:44:08 +0000 (13:44 +0100)
README_DEVELOPERS

index 6f7d1a9eee7cf4472a937d5a8a10899d264c1ae3..5b0a1bc6adba6db2d746c61c140fe4c48e72ffb1 100644 (file)
@@ -96,6 +96,11 @@ without too much problem by following these steps:
     or for an uninstalled version in a source directory $DIR:
 
       export VALGRIND_LAUNCHER=$DIR/coregrind/valgrind
+      export VALGRIND_LIB=$DIR/.in_place
+
+    VALGRIND_LIB is where the default.supp and vgpreload_ libraries
+    are found (which is under /usr/libexec/valgrind for an installed
+    version).
 
 (2) Run gdb on the tool executable.  Eg: