Я относительно недолго в Ubuntu пытаюсь поставить дополнения на gdb. Мне надо поменять файл .gdbinit однако его я не нашел(искал sudo find / -name “.gdbinit” и whereis .gdbinit). В итоге не нашел и прочитал что можно этот файл создать в директории в которой будешь работать (если расскажете как найти тоже буду благодарен). Так вот я сделал нужный файл и когда он должен был использоваться произошло следующие:
warning: File "/home/spile/workdir/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /home/spile/workdir/.gdbinit
line to your configuration file "/home/spile/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/spile/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
Undefined command: "init-pwndbg". Try "help".
Помогите пожалуйста понять что дальше делать.
Правила форума
1.4. Листинги и содержимое текстовых файлов следует добавлять в сообщение с помощью тегов [spoiler]...[/spoiler] или [code]...[/code], либо прикреплять к сообщению в виде отдельного файла. Длинные гиперссылки следует оформлять при помощи тега [url=]...[/url]
--Aleksandru