Re:Sorry state of dynamic libraries on Linux
by ice799 on Monday January 16, 2012 @05:43PM
(#3472950)
hi. linux does have this.
you just strip the debug symbols out (and put them somewhere safe). then write a .gnu_debuglink section to the stripped ELF binary with a CRC that matches the stripped symbols.
once something bad happens: you just take the core dump, the symbols you have tucked away, and you are able to debug just fine.
Re:Sorry state of dynamic libraries on Linux
by psykotic on Monday January 16, 2012 @05:47PM
(#3472968)
Thanks to you and others for jumping in and pointing this out! There's nothing better than being corrected when it means learning something new and solving a long-standing problem.
you just strip the debug symbols out (and put them somewhere safe). then write a .gnu_debuglink section to the stripped ELF binary with a CRC that matches the stripped symbols.
once something bad happens: you just take the core dump, the symbols you have tucked away, and you are able to debug just fine.