简体   繁体   English

产生核心文件的C ++代码,就像gdb >> gcore一样

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

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. 有谁知道任何C ++库或代码可以帮助我生成具有特定PID的进程的核心文件,就像使用gcore使用gcore命令生成的文件一样。 I am working on linux. 我在linux上工作。

有google用户空间coredumper

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM