79153329

Date: 2024-11-03 18:05:05
Score: 1
Natty:
Report link

What's in your gdbinit file, if any?

I ran into a similar error when trying to setup debugging in Clion. The solution was to set the Debugger binary xtensa-esp32-elf-gdb in the Toolchain settings, and then select it in the Run Configuration.

Instead of writing -file-exec-and-symbols build/main.elf in the gdb console just pass the symbol file as command line argument: xtensa-esp32-elf-gdb -x gdbinit ../build/main.elf

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What's in you
  • Low reputation (0.5):
Posted by: Fabian