mirror of
https://github.com/apache/nuttx.git
synced 2026-10-11 08:10:21 +00:00
Update debugging.rst
- Add right path for debug (nuttx /) - Support for debug not only on ESP32 arch (target extended-remote) but also for STM32 chip arch (target remote :3333)
This commit is contained in:
parent
26e02700dd
commit
4e081c10b6
1 changed files with 2 additions and 2 deletions
|
|
@ -66,13 +66,13 @@ This will start a ``gdb`` server. Then, start ``gdb`` with:
|
|||
.. code-block:: console
|
||||
|
||||
$ cd nuttx/
|
||||
$ gdb-multiarch nuttx/nuttx
|
||||
$ gdb-multiarch ./nuttx
|
||||
|
||||
Inside ``gdb`` console, connect to the ``gdb`` server with:
|
||||
|
||||
.. code-block::
|
||||
|
||||
(gdb) target extended-remote :3333
|
||||
(gdb) tar remote :3333
|
||||
|
||||
You can now use standard ``gdb`` commands. For example, to
|
||||
reset the board:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue