[wip:binutils] Large corefile support

Andreas Jaeger aj@suse.de
Sat Jan 17 06:56:00 GMT 2004


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 :-(

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20040117/58ec29ac/attachment.sig>


More information about the Binutils mailing list