[patch 1/2] Provide $ddir substitution for --with-auto-load-safe-path

Jan Kratochvil jan.kratochvil@redhat.com
Fri May 11 19:34:00 GMT 2012


On Fri, 11 May 2012 21:14:47 +0200, Pedro Alves wrote:
> Looks like there is some special casing somewhere:

True, I forgot and I agree.  But it is only this "cosmetic" message, it has no
functionality effect.  I can fix this "any directory" message conditional.


>  (gdb) show  auto-load safe-path
>  List of directories from which it is safe to auto-load files is /usr/local.
>  (gdb) set auto-load safe-path :
>  (gdb) show  auto-load safe-path
>  List of directories from which it is safe to auto-load files is :.
>  (gdb) set auto-load safe-path /
>  (gdb) show  auto-load safe-path
>  Auto-load files are safe to load from any directory.
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Then IIUC, that "from any directory" is simply not true on Windows -- and
> I'd call it a bug.  Files outside of the current drive won't auto-load.

It should work, at least Joel has verified it works:
	[patch] [w32] Fix --without-auto-load-safe-path
	http://sourceware.org/ml/gdb-patches/2012-04/msg00721.html
	http://sourceware.org/ml/gdb-patches/2012-05/msg00029.html


Thanks,
Jan



More information about the Gdb-patches mailing list