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]

Re: [RFC] Warn about truncated core dumps.


On Wed, May 07, 2008 at 03:50:14PM -0700, Paul Pluzhnikov wrote:
> Attached patch warns about truncated ELF core dumps.

Good idea.  Committed with some casts to avoid errors when
bfd_size_type and/or off_t is larger than unsigned long.  The cast can
of course truncate the values which could lead to unusual error
messages, but I figure this isn't a big deal.

-- 
Alan Modra
Australia Development Lab, IBM


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