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 v3 4/5] Implement "set cwd" command on GDB


> Cc: sergiodj@redhat.com, gdb-patches@sourceware.org
> From: Pedro Alves <palves@redhat.com>
> Date: Fri, 29 Sep 2017 16:46:13 +0100
> 
> > Because we then keep "~",
> > but it expands to something different for every target, and the user
> > has no way of knowing what that will do on another target. 
> 
> If the user types "~" then surely they want the home directory,
> whatever it is on the machine.  That's the point of "~" existing,
> IMO.

Users might not be aware the same "~" will get re-expanded for each
target.

Anyway, I talked enough about this.  It's your call wrt what to do
with this.

Thanks.


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