This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/4] GDBServer: introduce --server-stderr 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, areis at redhat dot com
- Date: Mon, 23 Mar 2015 22:43:23 +0200
- Subject: Re: [PATCH 3/4] GDBServer: introduce --server-stderr command line option
- Authentication-results: sourceware.org; auth=none
- References: <1426905265-8495-1-git-send-email-crosa at redhat dot com> <1426905265-8495-4-git-send-email-crosa at redhat dot com> <83384yvjr0 dot fsf at gnu dot org> <55105FFD dot 60204 at redhat dot com> <83iodrr0j6 dot fsf at gnu dot org> <551078E6 dot 6000304 at redhat dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Mon, 23 Mar 2015 17:34:46 -0300
> From: Cleber Rosa <crosa@redhat.com>
> CC: gdb-patches@sourceware.org, areis@redhat.com
>
> > Also, what happened to the @item?
>
> @item --server-output=file
> Instruct @code{gdbserver} to redirect its own output to @var{file}.
>
> Which renders as:
>
> --server-output=file
> Instruct "gdbserver" to redirect its own output to file.
>
> Too simplistic or is that OK?
OK.
> >> @smallexample
> >> $ gdbserver --server-output=server.log :2222 testprog >test.out 2>test.err
> >> @end smallexample
> > This line is too long; either try to make it shorter, e.g., by using
> > shorter file/program names, or break it into 2 lines.
>
> OK, how about (repeated from earlier):
>
> @smallexample
> $ gdbserver --server-output=log :2222 bin >bin.out 2>bin.err
> @end smallexample
That's fine.
Thanks.