C++ code for producing core-file just like gdb >> gcore does

496 Views Asked by At

Does anyone know any C++ libraries or code that will help me to produce a core-file of a process with certain PID just like the one that is produced using gdb using the gcore command. I am working on linux.

1

There are 1 best solutions below

0
Employed Russian On

There is google user-space coredumper.