This is likely a gdb issue. Unless you're carefull to use 64 bit
functions of *seek*() and ftell(), your only able to access the first
2GB of a file. gdb may have issues here.
I don't recall the elf header but you may want to check the 32 bit elf
format and see if is even capable to be used with core file that exceed
2GB. Said in anothre way there *could* be elf-header offsets that is 32
bit and try pointing beyond 2GB.
Terje
On tor, 2002-06-27 at 14:30, Amrith Kumar wrote:
> Appears that there's an implicit 2Gb limit on the size of core files because
> it's being created without O_LARGEFILE.
>
> A small change in fs/exec.c (do_coredump) gets me past the limit and I can
> now generate a core file in excess of 2Gb but then gdb complains that the
> core dump is too large ...
>
> Looks like there's a broader underlying issue here that would involve
> changes to other places than I had thought would be required.
>
> Anyone else out there run into a similar problem ? And if so, could you let
> me know what other things I may run into ... Also, is this something that
> has been fixed in a forthcoming release ?
>
> Thanks,
>
> /a
>
> --
> Amrith Kumar
> akumar@netezza.com
> 508-665-6835
>
> #include <std_disclaimer.h>
> This e-mail message is for the sole use of the intended recipient(s) and may
> contain Netezza Corporation confidential and privileged information. Any
> unauthorized review, use, disclosure, or distribution is prohibited. If you
> are not the intended recipient, please contact the sender by reply e-mail
> and destroy all copies of the original message.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-- _________________________________________________________________________Terje Eggestad mailto:terje.eggestad@scali.no Scali Scalable Linux Systems http://www.scali.com
Olaf Helsets Vei 6 tel: +47 22 62 89 61 (OFFICE) P.O.Box 150, Oppsal +47 975 31 574 (MOBILE) N-0619 Oslo fax: +47 22 62 89 51 NORWAY _________________________________________________________________________
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:13 EST