[PATCH v3 4/5] Implement "set cwd" command on GDB
Eli Zaretskii
eliz@gnu.org
Fri Sep 29 17:51:00 GMT 2017
> 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.
More information about the Gdb-patches
mailing list