mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
coredump: just save latest core file
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
This commit is contained in:
@@ -134,12 +134,6 @@ static void coredump_dump_blkdev(pid_t pid)
|
||||
}
|
||||
|
||||
info = (FAR struct coredump_info_s *)g_blockinfo;
|
||||
if (info->magic == COREDUMP_MAGIC)
|
||||
{
|
||||
_alert("Coredump exists in %s, skip\n",
|
||||
CONFIG_BOARD_COREDUMP_BLKDEV_PATH);
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_BOARD_COREDUMP_COMPRESSION
|
||||
lib_lzfoutstream(&g_lzfstream,
|
||||
|
||||
Reference in New Issue
Block a user