]> git.dujemihanovic.xyz Git - u-boot.git/commit
doc: sandbox: Add a note of disabling LTO when using gdb
authorBin Meng <bmeng.cn@gmail.com>
Tue, 17 May 2022 16:21:29 +0000 (00:21 +0800)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 28 May 2022 08:59:27 +0000 (10:59 +0200)
commit783f2c879dd28b9c4f2ed7b259cc82d530862f30
tree56c36a1d545daf2fdfd7d0743ba205f602560760
parent27267c61b18cf3006674055139c330ae8e26eaf3
doc: sandbox: Add a note of disabling LTO when using gdb

Image created by LTO is not friendly to debugger, let's document this.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Mention CONFIG_CC_OPTIMIZE_FOR_DEBUG and LLDB.
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
doc/arch/sandbox.rst