On 9/30/2016 1:44 AM, Yonghong Zhu wrote:
Update the tools_def.template to add NOOPT support with GCC tool chains.

In the section "GCC Common" there's

DEBUG_*_*_OBJCOPY_ADDDEBUGFLAG = --add-gnu-debuglink=$(DEBUG_DIR)/$(MODULE_NAME).debug
RELEASE_*_*_OBJCOPY_ADDDEBUGFLAG   =

A NOOPT line similar to the DEBUG one needs to be added for debugging to work. I've verified that by adding it the reload-uefi command runs and single-stepping works.

--
Bruce
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to