Is it possible to get a core dump of a running process and it’s symbol table?
Is it possible to get gdb or use some other tools to create a core
dump of a running process and it's symbol table? It would be great if
there's a way to do this without terminating the process.
If this is possible, what commands would you use? (I'm trying to do this on a Linux box)
Answer
$ ulimit -c unlimited
$ gdb --pid=26426
(gdb) gcore
Saved corefile core.26426
(gdb) detatch
阅读(4353) | 评论(0) | 转发(0) |