This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC] Warn about truncated core dumps.
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Cc: binutils at sourceware dot org, Doug Evans <dje at google dot com>
- Date: Sat, 10 May 2008 11:28:40 +0930
- Subject: Re: [RFC] Warn about truncated core dumps.
- References: <8ac60eac0805071550h36cc72b1ld9ed706b3f5f6668@mail.gmail.com>
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