[commit] [gdbserver] Fix multi-GB error log files [doc review]

Jan Kratochvil
2011-04-24T08:04:23Z

On Sun, 24 Apr 2011 09:19:28 +0200, Eli Zaretskii wrote:
> The documentation parts are fine with me. Thanks.

Checked in.
http://sourceware.org/ml/gdb-cvs/2011-04/msg00148.html

Thanks,
Jan

Changed ChangeLogs only:

--- src/gdb/ChangeLog 2011/04/22 02:45:20 1.12946
+++ src/gdb/ChangeLog 2011/04/24 08:02:15 1.12947
@@ -1,3 +1,8 @@
+2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Eli Zaretskii <eliz@gnu.org>
+
+ * NEWS: Document the new gdbserver --once option.
+
2011-04-21 Jie Zhang <jzhang918@gmail.com>

* MAINTAINERS: Update my email address.
--- src/gdb/doc/ChangeLog 2011/04/23 05:47:43 1.1176
+++ src/gdb/doc/ChangeLog 2011/04/24 08:02:18 1.1177
@@ -1,3 +1,12 @@
+2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Eli Zaretskii <eliz@gnu.org>
+
+ * gdb.texinfo (Starting and Stopping Trace Experiments): New anchor
+ for disconnected tracing.
+ (Multi-Process Mode for @code{gdbserver}): Mention --multi and
+ extended-remote relationship. Mention --once.
+ (TCP port allocation lifecycle of @code{gdbserver}): New.
+
2011-04-23 Eli Zaretskii <eliz@gnu.org>

* gdb.texinfo (Server): Improve indexing. Index all optional
--- src/gdb/gdbserver/ChangeLog 2011/04/19 18:04:09 1.473
+++ src/gdb/gdbserver/ChangeLog 2011/04/24 08:02:20 1.474
@@ -1,3 +1,16 @@
+2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * remote-utils.c (handle_accept_event): Close LISTEN_DESC only if
+ RUN_ONCE. Comment for the LISTEN_DESC delete_file_handler call.
+ (remote_prepare): New function with most of the TCP code from ...
+ (remote_open): ... here. Detect PORT here unconditionally. Move also
+ setting transport_is_reliable.
+ * server.c (run_once): New variable.
+ (gdbserver_usage): Document it.
+ (main): Set run_once for `--once'. Call remote_prepare. Exit after
+ the first run if RUN_ONCE.
+ * server.h (run_once, remote_prepare): New declarations.
+
2011-04-19 Tom Tromey <tromey@redhat.com>

* win32-low.c (handle_load_dll): Remove duplicate "the".
--- src/gdb/testsuite/ChangeLog 2011/04/20 19:42:51 1.2675
+++ src/gdb/testsuite/ChangeLog 2011/04/24 08:02:20 1.2676
@@ -1,3 +1,11 @@
+2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
+ * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
+ * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
+ !gdbserver_reconnect_p..
+ (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
+
2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>

* gdb.cp/cpcompletion.exp (complete class methods)