acassis commented on issue #9645:
URL: https://github.com/apache/nuttx/issues/9645#issuecomment-2437807350

   @xiaotailang @yuening1999 this is my experience with debugging and 
optimization: in the past we were forced to use -O0 -g for ARM because the 
breakpoints and info didn't work well, but AFAIK it was fixed in current 
GCC/GDB toolchains. In the other hand for ESP32 (Xtensa) we cannot use -O0 -g 
because it will not work, so we are forced to use -O2 -g. There is some issue 
in the GCC/GDB for Xtensa that Cadence/Espressif needs to fix.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to