]> git.pld-linux.org Git - packages/valgrind.git/blame - valgrind-debuginfo.patch
- release 3
[packages/valgrind.git] / valgrind-debuginfo.patch
CommitLineData
23a3ecde
AM
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 @@
4ff172b5 4 VG_(sprintf)(debugpath, "%s/.debug/%s", objdir, debugname);
23a3ecde 5 if ((addr = open_debug_file(debugpath, NULL, crc, &size)) == 0) {
4ff172b5 6 VG_(sprintf)(debugpath, "/usr/lib/debug%s/%s", objdir, debugname);
23a3ecde
AM
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+ }
4ff172b5 11 }
e7aafe5a 12 }
e7aafe5a 13
This page took 0.050731 seconds and 4 git commands to generate.