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: Pedro Alves <palves at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Eli Zaretskii <eliz at gnu dot org>, gdb-patches at sourceware dot org, dje at google dot com
- Date: Mon, 10 Sep 2012 14:06:21 +0100
- Subject: Re: [patch+7.5] auto-load: User conveniences suggested by Doug Evans
- References: <83boi0gvwx.fsf@gnu.org> <50379D92.8070705@redhat.com> <50379E50.6090602@redhat.com> <83a9xkgony.fsf@gnu.org> <20120824180033.GA14391@host2.jankratochvil.net> <834nnsgn96.fsf@gnu.org> <503BB633.6050204@redhat.com> <20120827181147.GA25603@host2.jankratochvil.net> <20120909090152.GB4994@host2.jankratochvil.net> <504DCF0F.8080903@redhat.com> <20120910114726.GA9118@host2.jankratochvil.net>
On 09/10/2012 12:47 PM, Jan Kratochvil wrote:
> On Mon, 10 Sep 2012 13:29:19 +0200, Pedro Alves wrote:
>> On 09/09/2012 10:01 AM, Jan Kratochvil wrote:
>>> For more information about this security protection see
>>> the "Auto-loading safe path" section in the GDB manual or run from the shell:
>>> info "(gdb)Auto-loading safe path"
>>> warning: File "/home/jkratoch/redhat/gdb-clean/gdb/gdb-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
>>
>> I honestly don't understand why "for example, run..." would be worse
>> than "or run...", while "or" to my ears implies that the information that
>> you get in the pointed section of the manual might be different (alternative)
>> from what you get from that info command. But that's maybe just language
>> barrier, or just me. I'm happy enough with this version. Thanks.
>
> I understand "for example" would be slightly better there but it IMO is not
> worth an extra line.
If that's the issue, "e.g.," is shorter, and moving the "the" to the
previous line still leaves us at 78 columns:
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
vs the 77 columns:
For more information about this security protection see
the "Auto-loading safe path" section in the GDB manual or run from the shell:
info "(gdb)Auto-loading safe path"
Not suggesting this one, but a little re-flowing can bring it down to 73 columns,
at the expense of breaking the section name in two lines:
For more information about this security protection see the "Auto-loading
safe path" section in the GDB manual. For example, run from the shell:
info "(gdb)Auto-loading safe path"
Anyway, just for completeness. Thanks.
>
> I believe the output should not be too long to be read by anyone.
> I understand the warning in 7.5 has proven to be too short, though.
>
> For example the initial GDB licensing information (without -q) is too long,
> I do not see it required by GNU Coding Standards; but the initial text is
> offtopic here.
--
Pedro Alves