This is the mail archive of the binutils@sources.redhat.com 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: [wip:binutils] Large corefile support


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


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