This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC] Warn about truncated core dumps.


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.

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]