Files
esp-idf/tools/cmake
Sudeep Mohanty 5671695359 fix(gdbinit): build elf path from EXECUTABLE_NAME, not the target name
The EXECUTABLE build property holds a CMake target name, not a filesystem
path. Under Build system v1 the target happens to be created as
"<project>.elf", so concatenating BUILD_DIR with EXECUTABLE produced a valid
elf path by coincidence. Under Build system v2 the target is just "<project>"
and the elf is written as "<project>.elf" via CMake's executable suffix, so
the same concatenation pointed gdb at a non-existent file.

Construct the path explicitly from EXECUTABLE_NAME plus the .elf suffix so
the gdbinit consumer no longer depends on the producer naming its target
after the output file.
2026-07-01 13:17:25 +02:00
..
2026-06-05 15:59:04 +08:00
2025-09-30 15:28:55 +02:00