David Resnick wrote:
> Hi,
>
> I have a very large core file that I'd like to try and debug:
> -rw-------+   1 cmsapp   cmsapp   2633666560 Apr 25 17:27 core.17598
>
> Attempts to open it with gdb are giving this:
> /var/cti/cores/cms/pfp/core.17598: File too large.
>
> [EMAIL PROTECTED] pfp]# gdb --version
> GNU gdb Red Hat Linux (6.0post-0.20040223.17rh)
>
> Anyone have any wisdom to offer?  I tried the gdb manual/googling the
> issue, and didn't have any luck as yet, though I'll keep poking.  Would
> a later version of gdb be better at largefiles?
>
> Thanks!
> -David

Experimenting showed that if I did split --bytes=2000m core.17598,
gdb could open the 2Gb core fragment that resulted and I got my stack
trace.  Still curious if there is a better solution.

-David

_______________________________________________
help-gnu-utils mailing list
help-gnu-utils@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to