This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch+7.5] auto-load: User conveniences suggested by Doug Evans
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Doug Evans <dje at google dot com>
- Date: Fri, 24 Aug 2012 17:12:37 +0200
- Subject: Re: [patch+7.5] auto-load: User conveniences suggested by Doug Evans
- References: <20120821144355.GA28426@host2.jankratochvil.net> <5034FED3.9040809@redhat.com>
On Wed, 22 Aug 2012 17:46:27 +0200, Pedro Alves wrote:
> On 08/21/2012 03:43 PM, Jan Kratochvil wrote:
> > +add \"set auto-load safe-path /\" line to \"%s\".\n\
> > +For more information about this security protection run from the shell: \
> > +info \"(gdb)Auto-loading safe path\"\n"),
> > + filename_real, homeinit, homeinit);
>
> This may be cryptic, for instance, for Windows users who won't
> have 'info' available in the shell. How about something like:
>
> For more information about this security protection see the
> "Auto-loading safe path" section in the GDB manual.
>
> ?
In such case I prefer to rather drop the line. It is obvious one can find the
information in GDB Manual.
The goal was to make access to the information easy enough.
What about printing instead:
For more information about this security protection see: http://sourceware.org/gdb/onlinedocs/gdb/Auto_002dloading-safe-path.html
Thanks,
Jan