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+7.5] auto-load: User conveniences suggested by Doug Evans


On 08/24/2012 07:26 PM, Eli Zaretskii wrote:
>> Date: Fri, 24 Aug 2012 20:00:33 +0200
>> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>> Cc: Pedro Alves <palves@redhat.com>, gdb-patches@sourceware.org,
>>         dje@google.com
>>
>> On Fri, 24 Aug 2012 19:55:45 +0200, Eli Zaretskii wrote:
>>>   For more information about this security protection see the
>>>   "Auto-loading safe path" section in the GDB manual
>>>   ('info \"(gdb)Auto-loading safe path\"').
>>>
>>> I removed the reference to the shell because the above works in Emacs
>>> as well, and is also shorter.
>>
>> People type such commands into GDB, from what I know from IRC.
> 
> We must draw a line somewhere.  Otherwise, we will end up explaining
> how to start a shell etc.

I have to agree with Jan here.  "info" is also a GDB command -- that
would surely leave users confused.  :-(

If four lines is too much, then my previous suggestion, but merged
to three lines, still leaves us with 71 columns:

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

IMO, that's not too long, and is maximally informative.

WRT emacs, I honestly think that an emacs user is able to do the
"I don't need to run 'info' on shell -- I can do it right here
in the minibuffer" mental jump.

-- 
Pedro Alves


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