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:
parent
a9e89500e1
commit
ece93908a8
12
doc/gdb.rst
12
doc/gdb.rst
@ -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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user