On 06/07/2010 12:07 PM, Denys Vlasenko wrote:
On Tue, 2010-06-01 at 19:42 +0200, Denys Vlasenko wrote:
> It occurred to me that we can easily save binary image too,
> even if it is deleted - by opening and reading /proc/PID/exe!
>
> This later can be hooked to gdb to get backtrace more reliably.
>
> Here's the patch. Run tested. Please ACK.
Updated patch: made dumping of binary optional, controlled by
CCpp.conf directive SaveBinaryImage = yes/no
Apply patch.