]>
Commit | Line | Data |
---|---|---|
4ff172b5 JP |
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 | } | |
e7aafe5a | 12 | } |
e7aafe5a | 13 |