This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/4] Implement "set cwd" command
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: gdb-patches at sourceware dot org, palves at redhat dot com
- Date: Tue, 12 Sep 2017 17:50:22 +0300
- Subject: Re: [PATCH 4/4] Implement "set cwd" command
- Authentication-results: sourceware.org; auth=none
- References: <20170912042325.14927-1-sergiodj@redhat.com> <20170912042325.14927-5-sergiodj@redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Sergio Durigan Junior <sergiodj@redhat.com>
> Cc: Pedro Alves <palves@redhat.com>, Sergio Durigan Junior <sergiodj@redhat.com>
> Date: Tue, 12 Sep 2017 00:23:25 -0400
>
> Each time you start your program with @code{run}, it inherits its
> working directory from the current working directory of @value{GDBN}.
> The @value{GDBN} working directory is initially whatever it inherited
> -from its parent process (typically the shell), but you can specify a new
> -working directory in @value{GDBN} with the @code{cd} command.
> +from its parent process (typically the shell), but you can specify a
> +new working directory in @value{GDBN} with the @code{cd} command. You
> +can specify a working directory especifically for the inferior with
^^^^^^^^^^^^^
A typo.
> +Set the inferior's working directory to @var{directory}. If not
> +given, @var{directory} uses @file{'~'}. This has no effect on
The quotes inside @file are redundant, please drop them.
Otherwise, the documentation parts are OK, thanks.