Documentation: Fix command to load `nuttx/tools/gdb/__init__.py`
According to `Documentation/guides/gdbwithpython.rst` and GDB's documentation, the `-ix` option "Execute commands from file `file` before loading the inferior (but after loading gdbinit files)", being the correct way of loading it to GDB.
This commit is contained in:
parent
5b35c4e5b0
commit
6055b64802
|
@ -249,7 +249,7 @@ easy way to do this is to add an extra command:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ gdb nuttx -ex "nuttx/tools/gdb/__init__.py"
|
$ gdb nuttx -ix=tools/gdb/__init__.py
|
||||||
|
|
||||||
gdb can need to set the current elf support architecture, for example,
|
gdb can need to set the current elf support architecture, for example,
|
||||||
the prefix is arm-ebai-none-.
|
the prefix is arm-ebai-none-.
|
||||||
|
|
Loading…
Reference in New Issue