This commit is contained in:
Fancy code 2024-05-16 20:10:09 +08:00
parent a879da6532
commit b8751307c9

View File

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