This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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: gdb with bigger than 2G 32bit core files


Yes. You need:
--enable-64-bit-bfd

With GDB 6.1 you don't need that. With 6.0, you'd be wasting your time - the 6.0 code base doesn't use fseek64 et.al.


For reference there's a testcase (bigcore.exp) that is known to pass on certain GNU/Linux variants (RHEL for instance).

Andrew


hi,


has anyone been able to analyze bigger than 2 gig core files?

i am trying to analyze core files produced by a 32bit x86 linux 2.4 box
with the O_LARGEFILE core patch like this :

file = filp_open(corename, O_CREAT | 2 | O_NOFOLLOW | O_LARGEFILE, 0600);

i know it can be done with linux 2.6 on 64bit arch box...



~david



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