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: [doc patch+7.6 rfc] auto-load setting: Make it even more user-acceptable


> Date: Fri, 12 Apr 2013 14:50:46 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> 
> The manual page ia apparently rl;dr (too long, didn't read).  While it is not
> too correct I would add there this part.
> 
> OTOH that one user had a problem reading the manual does not require a change.

Such a short addition is a no-brainer, IMO, even if only one user
complained.

>  warning: File "/home/user/gdb/gdb-gdb.py" auto-loading has been
>           declined by your `auto-load safe-path' set
>           to "$debugdir:$datadir/auto-load".
> +...
> +$ gdb -q -iex "set auto-load safe-path /home/user/gdb" ./gdb
> + - how to quickly get the script files loaded
>  @end smallexample

I'd prefer a more explicit:

 @end example
+
+@noindent
+To instruct @value{GDBN} to go ahead and use the init files anyway,
+invoke @value{GDBN} like this:
+
+@smallexample
+$ gdb -q -iex "set auto-load safe-path /home/user/gdb" ./gdb
+@end smallexample

Thanks.


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