November 27th, 2003, 06:30 PM
I have a program crashed saying segmentation fault, but I cannot see any clue from the output, I cannot even find a core dump file, how to have a core dump file while crash?
November 28th, 2003, 06:34 PM
ulimit -c unlimited
This is me: http://chris.uk.com
December 5th, 2003, 12:10 AM
You can run a binary after compilation using gdb
gdb "binary file"
then give "r" to execute the binary it will tell you where the fault or error is, if there are any.
you can see the man page of gdb for more info