Recovering a core dump deleted while debugging

Philippe Blain levraiphilippeblain@gmail.com
Wed Aug 26 11:53:16 GMT 2026


Hi,

I’m debugging a core dump in GDB and some other process deleted the directory where the core dump was. Is there anyway to recover it?

I tried 'lsof -p $pid' and looking in /proc/$pid/fd/ but the core dump does not appear there. I’m guessing GDB closes the file after it loads everything into memory ?

Thanks,

Philippe. 


More information about the Gdb mailing list