1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

Complete info how to find elf file in windows (#5660)

This commit is contained in:
ZaPpInG 2019-01-24 19:56:08 +01:00 committed by Earle F. Philhower, III
parent a9e89500e1
commit ece93908a8

View File

@ -72,14 +72,20 @@ Locate Application.ino.elf File
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In order for GDB to debug your application, you need to locate the compiled In order for GDB to debug your application, you need to locate the compiled
ELF format version of it (which includes needed debug symbols). Under Linux ELF format version of it (which includes needed debug symbols).
these files are stored in ``/tmp/arduino_build_*`` and the following command
will help locate the right file for your app Under Linux these files are stored in ``/tmp/arduino_build_*`` and the following command will help locate the right file for your app:
.. code:: cpp .. code:: cpp
find /tmp -name "*.elf" -print find /tmp -name "*.elf" -print
Under Windows these files are stored in `%userprofile%\AppData\Local\Temp\arduino_build_*`` and the following command will help locate the right file for your app:
.. code:: cpp
dir %userprofile%\appdata\*.elf /s/b
Note the full path of ELF file that corresponds to your sketch name, it will Note the full path of ELF file that corresponds to your sketch name, it will
be needed later once GDB is started. be needed later once GDB is started.