码迷,mamicode.com
首页 > 系统相关 > 详细

Linux 生成 core dump的方法及设置

时间:2020-08-01 21:26:59      阅读:103      评论:0      收藏:0      [点我收藏+]

标签:auto   bsp   memory   sed   erro   fatal   pre   pointer   sys   

core dump 定义
A core dump is the recorded state of the working memory of a computer program at a specific time, generally when the 
program has terminated abnormally (crashed). In practice, other key pieces of program state are usually dumped at 
the same time, including the processor registers, which may include the program counter and stack pointer, memory 
management information, and other processor and operating system flags and information. The name comes from the 
once-standard memory technology core memory. Core dumps are often used to diagnose or debug errors in computer programs.

On many operating systems, a fatal error in a program automatically triggers a core dump, and by extension the phrase 
"to dump core" has come to mean, in many cases, any fatal error, regardless of whether a record of the program memory 
is created.

 

Linux 生成 core dump的方法及设置

标签:auto   bsp   memory   sed   erro   fatal   pre   pointer   sys   

原文地址:https://www.cnblogs.com/flyinggod/p/13415862.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!