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][PATCH v2 0/4] readelf and libbfd: Add Extended Numbering Support for ELF corefiles


From: Alan Modra <amodra@gmail.com>
Subject: Re: [RFC][PATCH v2 0/4] readelf and libbfd: Add Extended Numbering Support for ELF corefiles
Date: Wed, 20 Jan 2010 00:21:54 +1030

> This is the patch I applied.  Handles e_phnum extension in executables
> as well as cores, and differs from your version in the treatment of
> e_phnum == 0xffff with the first section header sh_info zero.  For
> backwards compatibility, I think this ought to be taken as 0xffff
> program headers, not zero (or 4G) program headers.

I also think so.

Your patch set and in particular ChangeLog looks very elegant to
me. So, I am not going to repost further patch set.

On the other hand, I'd like to report that I've attempted to create a
coredump using gcore sub-command following the way you suggested
previously, i.e. increasing threads.

For this, I've need:
    * prepare at leat 700GB strage (on X64 and IA64 arch),
    * set kernel.threads-max to a reasonably large value, and
    * one and a bit hours for the dumping process.

Thanks.


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