Skip to content

Commit ece9390

Browse files
lrmoreno007earlephilhower
authored andcommitted
Complete info how to find elf file in windows (#5660)
1 parent a9e8950 commit ece9390

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

doc/gdb.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,20 @@ Locate Application.ino.elf File
7272
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7373

7474
In order for GDB to debug your application, you need to locate the compiled
75-
ELF format version of it (which includes needed debug symbols). Under Linux
76-
these files are stored in ``/tmp/arduino_build_*`` and the following command
77-
will help locate the right file for your app
75+
ELF format version of it (which includes needed debug symbols).
76+
77+
Under Linux these files are stored in ``/tmp/arduino_build_*`` and the following command will help locate the right file for your app:
7878

7979
.. code:: cpp
8080
8181
find /tmp -name "*.elf" -print
8282
83+
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:
84+
85+
.. code:: cpp
86+
87+
dir %userprofile%\appdata\*.elf /s/b
88+
8389
Note the full path of ELF file that corresponds to your sketch name, it will
8490
be needed later once GDB is started.
8591

0 commit comments

Comments
 (0)