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})