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#2 5/6] set debug auto-load


> 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.


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