]> git.pld-linux.org Git - packages/valgrind.git/blob - valgrind-debuginfo.patch
- release 3
[packages/valgrind.git] / valgrind-debuginfo.patch
1 --- coregrind/m_debuginfo/readelf.c~    2011-10-26 23:24:44.000000000 +0200
2 +++ coregrind/m_debuginfo/readelf.c     2011-12-10 16:02:00.557983343 +0100
3 @@ -1198,7 +1198,9 @@
4           VG_(sprintf)(debugpath, "%s/.debug/%s", objdir, debugname);
5           if ((addr = open_debug_file(debugpath, NULL, crc, &size)) == 0) {
6              VG_(sprintf)(debugpath, "/usr/lib/debug%s/%s", objdir, debugname);
7 -            addr = open_debug_file(debugpath, NULL, crc, &size);
8 +            if ((addr = open_debug_file(debugpath, NULL, crc, &size)) == 0) {
9 +                addr = open_debug_file(debugname, NULL, crc, size);
10 +            }
11           }
12        }
13  
This page took 0.022282 seconds and 3 git commands to generate.