[patch 0/6] auto-load: intro
Jan Kratochvil
jan.kratochvil@redhat.com
Sun May 6 16:13:00 GMT 2012
On Sun, 06 May 2012 18:05:16 +0200, H.J. Lu wrote:
> It may be kind of late. But it is very annoying when using the new
> GDB to debug GCC since .gdbinit from GCC is no longer used by
> default. Any suggestions?
The warning it gives similar to
warning: File "/home/jkratoch/redhat/gdb-clean/gdb/gdb-gdb.gdb" auto-loading has been declined by your `auto-load safe-path' set to "/usr/share/gdb/auto-load".
warning: File "/home/jkratoch/redhat/gdb-clean/gdb/gdb-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "/usr/share/gdb/auto-load".
tries to enforce you to specify proper GDB configure option like
--with-auto-load-safe-path=/usr/share/gdb/auto-load:$HOME/src
or even if you really dislike the security feature and/or really do not face
untrusted binaries use the GDB configure option:
--without-auto-load-safe-path
Assuming your GCC tree is in $HOME/src/somewhere/gcc...
Thanks,
Jan
More information about the Gdb-patches
mailing list