[RFC] Warn about truncated core dumps.

Paul Pluzhnikov ppluzhnikov@google.com
Wed May 7 22:50:00 GMT 2008


Greetings,

We have many users with truncated core dumps (due to too low 'ulimit -c').
Attempts to debug such core dumps with GDB lead to "GDB doesn't work" claims :-(

We are also not alone:
http://sourceware.org/ml/gdb/2004-03/msg00160.html

Attached patch warns about truncated ELF core dumps.

-- 
Paul Pluzhnikov

2008-05-07  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* elfcore.h (elf_core_file_p): Warn about core truncation.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20080507/596f2a60/attachment.txt>


More information about the Binutils mailing list