Re: [patch+7.5] auto-load: User conveniences suggested by Doug Evans

Pedro Alves
2012-08-24T15:28:36Z

On 08/24/2012 04:19 PM, Eli Zaretskii wrote:
>> Date: Wed, 22 Aug 2012 16:46:27 +0100
>> From: Pedro Alves <palves@redhat.com>
>> CC: gdb-patches@sourceware.org, Doug Evans <dje@google.com>
>>
>> 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.
>
> Why wouldn't they? A Windows port is available.

I mean "won't usually have" -- because they haven't installed it.
For instance, I believe people that use Windows hosted toolchains from
CodeSourcery or AdaCore won't usually have info installed, and won't ever
bother to install it.

My point is that the meat of the information here is the pointing
at a section in the manual, not some specific way to get at it.

>
>> How about something like:
>>
>> For more information about this security protection see the
>> "Auto-loading safe path" section in the GDB manual.
>>
>> ?
>
> If they don't have 'info', how will they read the manual?

Either online; a local html version that is installed along the
toolchain (common, and some vendors integrate this with the frontend
like, e.g., Eclipse); or a local pdf version (also common).

--
Pedro Alves