mirror of
https://github.com/esp8266/Arduino.git
synced 2025-12-07 17:42:43 +03:00
Correct path to GDB in Windows (#5659)
* Correct path to GDB in Windows * Added Linux and Windows label * Added using git version
This commit is contained in:
13
doc/gdb.rst
13
doc/gdb.rst
@@ -90,14 +90,23 @@ Open a Command Prompt and Start GDB
|
|||||||
Open a terminal or ``CMD`` prompt and navigate to the proper ESP8266 toolchain
|
Open a terminal or ``CMD`` prompt and navigate to the proper ESP8266 toolchain
|
||||||
directory.
|
directory.
|
||||||
|
|
||||||
|
Linux
|
||||||
|
|
||||||
.. code:: cpp
|
.. code:: cpp
|
||||||
|
|
||||||
~/.arduino15/packages/esp8266/hardware/xtensa-lx106-elf/bin/xtensa-lx106-elf-gdb
|
~/.arduino15/packages/esp8266/hardware/xtensa-lx106-elf/bin/xtensa-lx106-elf-gdb
|
||||||
|
|
||||||
|
Windows (Using Board Manager version)
|
||||||
|
|
||||||
.. code:: cpp
|
.. code:: cpp
|
||||||
|
|
||||||
cd TODO WINDOWS
|
%userprofile%\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9\bin\xtensa-lx106-elf-gdb.exe
|
||||||
xtensa-lx106-elf-gdb.exe
|
|
||||||
|
Windows (Using Git version)
|
||||||
|
|
||||||
|
.. code:: cpp
|
||||||
|
|
||||||
|
%userprofile%\Documents\Arduino\hardware\esp8266com\esp8266\tools\xtensa-lx106-elf\bin\xtensa-lx106-elf-gdb.exe
|
||||||
|
|
||||||
Please note the proper GDB name is "xtensa-lx106-elf-gdb". If you accidentally
|
Please note the proper GDB name is "xtensa-lx106-elf-gdb". If you accidentally
|
||||||
run "gdb" you may start your own operating system's GDB, which will not know how
|
run "gdb" you may start your own operating system's GDB, which will not know how
|
||||||
|
|||||||
Reference in New Issue
Block a user