If you compiled the program with the -g option (I think it's the same
option in g++ and CC) then you can type dbx a.out which is a debugger.
Once in the debugger type where. Most times that will give you a trce of
what the program was doing when it crashed, usually you'll even get line
numbers to tell you where it died.
Compiling with the -Wall option will also help, it turns all the warnings
on.
--Joe
> I know that a core dump is a memory dump to the harddisk. How can I use this
> to ? How do I use the core file to determine where the bug is ?
>
> Regards, Johan
>
> De Messemaeker Johan
> HEMMIS n.v.
> Koning LeopoldIII-laan 2, 8500 Kortrijk
> Tel.: 32 (0)56/37.26.37
> Fax: 32 (0)56/37.23.24
> Current Project : VMM Aalst
>