This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 2/3] GDBServer: introduce --server-output command line option
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Cleber Rosa <crosa at redhat dot com>
- Cc: gdb-patches at sourceware dot org, crosa at redhat dot com, areis at redhat dot com
- Date: Wed, 25 Mar 2015 22:55:09 +0200
- Subject: Re: [PATCH v2 2/3] GDBServer: introduce --server-output command line option
- Authentication-results: sourceware.org; auth=none
- References: <1427316472-20629-1-git-send-email-crosa at redhat dot com> <1427316472-20629-3-git-send-email-crosa at redhat dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Cleber Rosa <crosa@redhat.com>
> Cc: crosa@redhat.com, areis@redhat.com
> Date: Wed, 25 Mar 2015 17:47:51 -0300
>
> This command line option will redirect all of the gdbserver's own
> output (always sent to stderr) to a separate file. This feature makes
> it possible to distinguish between the inferior process stderr and
> gdbserver's own stderr. Example use case:
>
> $ gdbserver --server-output=log :2222 bin >bin.out 2>bin.err
>
> Server output will be sent to file named "log", and the inferior
> output and error messages will be on files "bin.out" and "bin.err",
> respectively.
>
> gdb/Changelog:
> 2015-03-25 Cleber Rosa <crosa@redhat.com>
>
> * NEWS: New feature in the GDBserver: --server-output.
>
> gdb/doc/ChangeLog:
> 2015-03-25 Cleber Rosa <crosa@redhat.com>
>
> * gdb.texinfo (info): Added section on command line and monitor
> commands.
> (gdbserver man): Added section on new command line option.
OK for the documentation parts, with one comment:
> +Server output will be sent to file named @var{log}, and the inferior
> +output and error messages will be on files @var{bin.out} and
> +@var{bin.err}, respectively.
These all should be @file, not @var, since they are literal file
names.
Thanks.