]> git.pld-linux.org Git - packages/valgrind.git/blob - valgrind-debuginfo.patch
- define at configure time a path to gdb. system wide /usr/bin/gdb is better
[packages/valgrind.git] / valgrind-debuginfo.patch
1 --- coregrind/m_debuginfo/readelf.c.orig        2010-10-18 12:58:07.000000000 +0200
2 +++ coregrind/m_debuginfo/readelf.c     2010-10-18 13:00:53.366691751 +0200
3 @@ -1080,7 +1080,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.039953 seconds and 3 git commands to generate.