This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch 0/6] auto-load: intro


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]