This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch#2 5/6] set debug auto-load
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 30 Mar 2012 10:50:38 +0300
- Subject: Re: [patch#2 5/6] set debug auto-load
- References: <20120329091510.GF25449@host2.jankratochvil.net>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 29 Mar 2012 11:15:10 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>
> one can easily see this way what all insecure pathnames GDB tries to open.
Thanks.
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -153,6 +153,10 @@ set auto-load safe-path <dir1>[:<dir2>...]
> show auto-load safe-path
> Set a list of directories from which it is safe to auto-load files.
>
> +set debug auto-load on|off
> +show debug auto-load
> + Control display of debugging info for auto-loading the files above.
OK.
> +auto-load: Resolved file "/home/user/gdb/gdb-gdb.rc"
> + as "/home/user/gdb/gdb-gdb.rc".
Didactically, it would be better if the resolution produced a
non-trivial change of the file name. This would drive point home
better.
> +Set whether printing of the filenames attempted to be auto-loaded is turned on.
Set whether to print the filenames attempted to be auto-loaded.
> +Show whether printing of the filenames attempted to be auto-loaded is turned
> +on. ^^^^^^
^^
"turned on or off"
OK with those changes.