Skip to content

Commit a9e8950

Browse files
lrmoreno007devyte
authored andcommitted
Correct path to GDB in Windows (#5659)
* Correct path to GDB in Windows * Added Linux and Windows label * Added using git version
1 parent bff3a6d commit a9e8950

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

doc/gdb.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,23 @@ Open a Command Prompt and Start GDB
9090
Open a terminal or ``CMD`` prompt and navigate to the proper ESP8266 toolchain
9191
directory.
9292

93+
Linux
94+
9395
.. code:: cpp
9496
9597
~/.arduino15/packages/esp8266/hardware/xtensa-lx106-elf/bin/xtensa-lx106-elf-gdb
9698
99+
Windows (Using Board Manager version)
100+
101+
.. code:: cpp
102+
103+
%userprofile%\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9\bin\xtensa-lx106-elf-gdb.exe
104+
105+
Windows (Using Git version)
106+
97107
.. code:: cpp
98108
99-
cd TODO WINDOWS
100-
xtensa-lx106-elf-gdb.exe
109+
%userprofile%\Documents\Arduino\hardware\esp8266com\esp8266\tools\xtensa-lx106-elf\bin\xtensa-lx106-elf-gdb.exe
101110
102111
Please note the proper GDB name is "xtensa-lx106-elf-gdb". If you accidentally
103112
run "gdb" you may start your own operating system's GDB, which will not know how

0 commit comments

Comments
 (0)