Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1259625
  • 博文数量: 264
  • 博客积分: 10772
  • 博客等级: 上将
  • 技术积分: 2325
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-25 11:54
文章分类

全部博文(264)

文章存档

2012年(4)

2011年(51)

2010年(31)

2009年(57)

2008年(51)

2007年(70)

分类: LINUX

2008-12-21 16:07:15

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
阅读(4327) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~