Documentation | Draft: Add section "Debugging" to RTEMS documentation (!43)
Suraj Kumar (@the.m3chanic)
gitlab at rtems.org
Mon Aug 19 06:45:33 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_111264
> +There are many ways in which you can configure this path (or even choose not
> +to), depending on how frequently you will be debugging applications.
> +
> +#. *Long term*
> + The easiest (and most unsafe) way is to add this line to your ``~/.gdbinit``
> + file:
> +
> + .. code-block:: none
> +
> + set auto-load safe-path /
> +
> + .. warning:: This will allow GDB to run gdb-inlined scripts in any executable
> + you load from any path. It is disabling a security feature within GDB, so
> + use it at your own discretion and only load trusted executables in GDB.
> +
> +#. *Short term*
On second thought, I feel like swapping the 1st and 2nd points makes sense. Should I just go ahead and do that?
--
View it on GitLab: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/43#note_111264
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/20240819/fec2145b/attachment-0001.htm>
More information about the bugs
mailing list