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: [RFC] Show (tilde-)expanded filenames to the user?


On 08/08/2013 08:49 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
> 
> Pedro> But, I think we should have a policy here, and all commands
> Pedro> should follow it.  Those that don't would be considered
> Pedro> bugs.  The question then is, which policy is most appropriate?
> Pedro> grepping around for "tilde_expand", it seems to be the
> Pedro> showing expanded filenames is more common.
> 
> I tend to think that showing the expanded name is best.
> My reason is that this way the user sees what actually happened.

Alright, I audited tilde_expand uses throughout the tree, and
noticed most indeed show the expanded string to the user.  I'm
pushing a few patches to fix easy cases that didn't do that.

Thanks,
-- 
Pedro Alves


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