]> git.pld-linux.org Git - packages/valgrind.git/blobdiff - valgrind-debuginfo.patch
- up to 3.7.0
[packages/valgrind.git] / valgrind-debuginfo.patch
index 19b1b248782efe02dd7473706d383302647d9a7d..bab4da9191aa7824935c454288214187e6369e0b 100644 (file)
@@ -1,13 +1,13 @@
---- coregrind/m_debuginfo/readelf.c.orig       2010-10-18 12:58:07.000000000 +0200
-+++ coregrind/m_debuginfo/readelf.c    2010-10-18 13:00:53.366691751 +0200
-@@ -1080,7 +1080,9 @@
+--- coregrind/m_debuginfo/readelf.c~   2011-10-26 23:24:44.000000000 +0200
++++ coregrind/m_debuginfo/readelf.c    2011-12-10 16:02:00.557983343 +0100
+@@ -1198,7 +1198,9 @@
           VG_(sprintf)(debugpath, "%s/.debug/%s", objdir, debugname);
-          if ((addr = open_debug_file(debugpath, NULL, crc, size)) == 0) {
+          if ((addr = open_debug_file(debugpath, NULL, crc, &size)) == 0) {
              VG_(sprintf)(debugpath, "/usr/lib/debug%s/%s", objdir, debugname);
--            addr = open_debug_file(debugpath, NULL, crc, size);
-+            if ((addr = open_debug_file(debugpath, NULL, crc, size)) == 0) {
-+              addr = open_debug_file(debugname, NULL, crc, size);
-+          }
+-            addr = open_debug_file(debugpath, NULL, crc, &size);
++            if ((addr = open_debug_file(debugpath, NULL, crc, &size)) == 0) {
++                addr = open_debug_file(debugname, NULL, crc, size);
++            }
           }
        }
  
This page took 0.073578 seconds and 4 git commands to generate.