help requested for diagnosing core dump

Toon Moene toon@moene.indiv.nluug.nl
Wed Nov 20 12:15:00 GMT 2002


Elkin David wrote:

> Could you help me track down the cause of a 'core
> dump'
> in a large Fortran 77 and C program?
> 
> After debugging manually, using 'dbg,' and adding
> compiler flags I have not succeeded. Were it not for
> the core dump, I would have thought all was fine since
> all output is generated and has been checked for
> accuracy.

Are you sure the core file is *new*, i.e., not a core file from a 
previous invocation of the program ?

What happens if you say: `gdb <executable> core' and issue the gdb 
command `where' ?

Hope this helps,

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)



More information about the Gcc-help mailing list