for compressed debuginfo valgrind doesn't display source/line info.
Reproducible: Always
Steps to Reproduce: $ cat t.cpp int* p = 0; int main() { *p = 0; }
$ gcc t.cpp -gdwarf-4 -g2 -o t
$ valgrind ./t ==10551== Invalid write of size 4 ==10551== at 0x4004F7: main (t.cpp:4)
$ objcopy --compress-debug-sections ./t
$ valgrind ./t ==10568== Invalid write of size 4 ==10568== at 0x4004F7: main (in /home/users/pawels/bugs/t)
for compressed debuginfo valgrind doesn't display source/line info.
Reproducible: Always
Steps to Reproduce:
$ cat t.cpp
int* p = 0;
int main()
{
*p = 0;
}
$ gcc t.cpp -gdwarf-4 -g2 -o t
$ valgrind ./t
==10551== Invalid write of size 4
==10551== at 0x4004F7: main (t.cpp:4)
$ objcopy --compress- debug-sections ./t
$ valgrind ./t pawels/ bugs/t)
==10568== Invalid write of size 4
==10568== at 0x4004F7: main (in /home/users/