GDB doesnot catches segmentation fault
Phil Muldoon
pmuldoon@redhat.com
Tue Jul 5 07:51:00 GMT 2011
Mahmood Naderan <nt_mahmood@yahoo.com> writes:
>>Then:
>>gdb gdb --core=yourcore.pid
>>Where "youcore.pid" is the core-file that GDB generated on crash
>
> Where does it save that file? I can not find it
>
> // Naderan *Mahmood;
With Fedora 15, it places it in the same place from where the program
was executed:
[user@localhost test]$ ulimit -c unlimited
[user@localhost test]$ sleep 5000
Segmentation fault (core dumped)
[user@localhost test]$ ls core.31559
Cheers,
Phil
More information about the Gdb
mailing list