This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [wip:binutils] Large corefile support
- From: Andi Kleen <ak at suse dot de>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: ac131313 at redhat dot com, binutils at sources dot redhat dot com
- Date: Sun, 18 Jan 2004 13:42:41 +0100
- Subject: Re: [wip:binutils] Large corefile support
- References: <400877DC.3040108@redhat.com><m3r7xzvzb7.fsf@gromit.moeb>
On Sat, 17 Jan 2004 07:55:56 +0100
Andreas Jaeger <aj@suse.de> wrote:
> Andrew Cagney <ac131313@redhat.com> writes:
>
> > Hello,
> >
> > On the i386, GDB has problems when a corefile is >2gb. The problems
> > are directly attributable to BFD's use of:
> > typedef long file_ptr;
> > and
> > fseek (FILE *stream, long int offset, int whence)
> > The attached, when combined with a BFD/GDB configured / built with
> > --enable-64-bit-bfd, lets GDB handle corefiles >2gb, per this test:
> > http://sources.redhat.com/ml/gdb-patches/2004-01/msg00358.html
>
> Does this work with the Linux kernel? I heard recently that the Linux
> kernel does not create core files larger than 2 GB :-(
No, it doesn't. It would be easy to enable though once user space can
process such large files correctly.
-Andi