This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 4/5] Implement "set cwd" command on GDB
On Friday, September 22 2017, Eli Zaretskii wrote:
>> Cc: gdb-patches@sourceware.org
>> From: Pedro Alves <palves@redhat.com>
>> Date: Fri, 22 Sep 2017 20:24:40 +0100
>>
>> (gdb) set cwd ~ # I haven't even connected to a target yet.
>> # Where should this be expanded?
>> # On host may be incorrect.
>> # '~' -> /home/pedro on this machine
>
> You can expand it when you connect. The value has no use until then
> anyway.
So you're proposing that we discard the previous path expansion done
before connecting, right? I'm just trying to understand your proposal
here, not to bikeshed or anything.
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/