Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3890942
  • 博文数量: 534
  • 博客积分: 10470
  • 博客等级: 上将
  • 技术积分: 4800
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-26 14:08
文章分类

全部博文(534)

文章存档

2021年(1)

2019年(1)

2017年(1)

2016年(2)

2013年(2)

2012年(10)

2011年(43)

2010年(10)

2009年(17)

2008年(121)

2007年(253)

2006年(73)

分类: C/C++

2021-06-11 16:08:08

Ref: 

很不多的功能!
程序已经死了,产生了core,但里面的一段内存数据我怎么取出来存放到文件里面呢?

(gdb) help dump
Dump target code/data to a local file.
List of dump subcommands:
dump binary -- Write target code/data to a raw binary file
dump ihex -- Write target code/data to an intel hex file
dump memory -- Write contents of memory to a raw binary file
dump srec -- Write target code/data to an srec file
dump tekhex -- Write target code/data to a tekhex file
dump value -- Write the value of an expression to a raw binary file


Type "help dump" followed by dump subcommand name for full documentation.
Type "apropos word" to search for commands related to "word".
Command name abbreviations are allowed if unambiguous.

EX:
dump binary memory local_filename start_addr end_addr


阅读(2135) | 评论(0) | 转发(0) |
0

上一篇:pg归档失败-日志不存在了怎么处理

下一篇:没有了

给主人留下些什么吧!~~