Documentation | Draft: Add section "Debugging" to RTEMS documentation (!43)
Suraj Kumar (@the.m3chanic)
gitlab at rtems.org
Sun Aug 18 17:07:07 UTC 2024
Suraj Kumar commented on a discussion on user/debugging/gdb.rst: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/43#note_111235
> + .. code-block:: none
> +
> + arm-rtems at rtems-ver-major@-gdb sample_executable.exe
> + (gdb) target extended-remote <target-ip>:<port>
> +
> + Replace ``<target-ip>`` with the IP address of the target system and ``<port>``
> + with the port number where the GDB server is listening (e.g.,
> + ``localhost:1234`` if using QEMU).
> +
> +#. *Debugging commands*
> + Once connected, the code needs to be loaded before it can be run.
> +
> + .. code-block:: none
> +
> + (gdb) load
> + (gdb) b main
Changed
--
View it on GitLab: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/43#note_111235
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240818/8b77cb96/attachment-0001.htm>
More information about the bugs
mailing list