This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/4] GDB/MI: inferior standard I/O redirection
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Cleber Rosa <crosa at redhat dot com>
- Cc: gdb-patches at sourceware dot org, areis at redhat dot com, palves at redhat dot com, crosa at redhat dot com
- Date: Mon, 05 Oct 2015 15:26:51 +0300
- Subject: Re: [PATCH 4/4] GDB/MI: inferior standard I/O redirection
- Authentication-results: sourceware.org; auth=none
- References: <1444045617-14526-1-git-send-email-crosa at redhat dot com> <1444045617-14526-5-git-send-email-crosa at redhat dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Cleber Rosa <crosa@redhat.com>
> Cc: areis@redhat.com, palves@redhat.com, Cleber Rosa <crosa@redhat.com>
> Date: Mon, 5 Oct 2015 08:46:57 -0300
>
> This introduces the following MI commands:
>
> * -inferior-stdin-set
> * -inferior-stdin-show
> * -inferior-stdout-set
> * -inferior-stdout-show
> * -inferior-stderr-set
> * -inferior-stderr-show
>
> Which are the MI version of the inferior standard I/O redirection
> commands:
>
> * set inferior-stdin (aliased as stdin)
> * show inferior-stdin
> * set inferior-stdout (aliased as stdout)
> * show inferior-stdout
> * set inferior-stderr (aliased as stderr)
Thanks.
> gdb/doc/ChangeLog:
> 2015-10-05 Cleber Rosa <crosa@redhat.com>
>
> * gdb.texinfo (info): Add documentation about the
> -inferior-stdin-set, inferior-stdin-show, -inferior-stdout-set,
> inferior-stdout-show, -inferior-stderr-set, inferior-stderr-show
> commands.
I think these new MI commands should be mentioned in NEWS as well.
> +The corresponding @value{GDBN} command is @samp{set inferior-stdin} /tmp/answers.
I believe we use @code as markup for command names, not @samp.
Otherwise, the documentation part is OK.