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


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

Attachment: pgp00000.pgp
Description: PGP signature


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