用gdb在正常狀態下生成coredump | |
|
|
來源: ChinaUnix博客 日期: 2008.12.21 16:07 (共有0條評論) 我要評論 | |
? | |
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 |
只有注冊用戶登錄后才能發表評論。 | ||
【推薦】100%開源!大型工業跨平臺軟件C++源碼提供,建模,組態!
![]() |
||
相關文章:
|
||
網站導航:
博客園
IT新聞
BlogJava
博問
Chat2DB
管理
|
||
|