Christian Mauderer commented on a discussion on user/debugging/gdb.rst: 
https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/43#note_111258

 > +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*

Like I said, I most likely would also swap the first and second point so that 
the save method is the first one. But let's wait whether someone else will also 
ask for that or whether everyone else is OK with that order.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/43#note_111258
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to