Is it possible to get core dump on Linux?


Is there a way to create process dump on Linux using LLDB? I am using Ubuntu 14.04 and LLDB 3.7 that I built from sources a while ago.

I tried “process save-core” and it doesn’t work:

(lldb) process save-core ~/xxx

error: Failed to save core file for process: no ObjectFile plugins were able to save a core for this process




Someone will need to implement the core file saving in the ObjectFileELF.cpp if you want to do this. It currently isn't implemented.