From b8751307c94bf0d93fda0d7b36037e4363c2bc9f Mon Sep 17 00:00:00 2001 From: Fancy code <258828110.@qq.com> Date: Thu, 16 May 2024 20:10:09 +0800 Subject: [PATCH] Backup. --- doc/gdb_coredump_guide.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/gdb_coredump_guide.md b/doc/gdb_coredump_guide.md index 34d8341..b7de2ad 100644 --- a/doc/gdb_coredump_guide.md +++ b/doc/gdb_coredump_guide.md @@ -112,7 +112,7 @@ For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ../output_files/test/bin/McuManagerTest... -warning: core file may not match specified executable file. +warning: core file may not match specified executable file. // 表示coredump文件与可执行文件不匹配 [New LWP 3390383] Core was generated by `/usr/sbin/smbd --foreground --no-process-group'. Program terminated with signal SIGABRT, Aborted. @@ -125,6 +125,8 @@ Program terminated with signal SIGABRT, Aborted. 由于gdb和asan同时启用会冲突,导致无法识别coredump文件。解决办法如下: +修改://build/sdk_config.cmake + ``` # Gdb debug if(${TARGET_PLATFORM} MATCHES ${DEFINE_LINUX})