acassis commented on code in PR #9499:
URL: https://github.com/apache/nuttx/pull/9499#discussion_r1230096538
##########
Kconfig:
##########
@@ -1904,7 +1904,7 @@ config HEAP_COLORATION
config DEBUG_SYMBOLS
bool "Generate Debug Symbols"
- default n
+ default y
Review Comment:
> In order for GDB to be usable, it needs not only symbols but usually also
disabling optimization. Should that have the same default setting?
Greg, that is not always true. Normally for ARM (ie. Cortex-M family)
disabling optimization helps (or even is needed to show correctly functions
parameters, etc), but for Xtensa (ESP32) disabling optimization doesn't help
the debug and introduces some issues. It could be something specific for Xtensa
GCC, not use. It was something that /me, @gustavonihei and @Ouss4 faced while
debugging ESP32 chips.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]