binutils-gdb/gdb/testsuite/lib
Jan Kratochvil 03f2bd5942 gdb/
* NEWS: Document the new gdbserver --once option.

gdb/doc/
	* 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.

gdb/gdbserver/
	* 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.

gdb/testsuite/
	* 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-24 08:02:21 +00:00
..
ada.exp
cell.exp gdb 2011-03-07 16:03:04 +00:00
cl_util.c
cl_util.h
compiler.c
compiler.cc
cp-support.exp
dwarf.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:38:41 +00:00
fortran.exp
gdb-python.exp
gdb.exp gdb/ 2011-04-24 08:02:21 +00:00
gdbserver-support.exp gdb/ 2011-04-24 08:02:21 +00:00
java.exp
mi-support.exp gdb 2011-03-07 16:03:04 +00:00
objc.exp
opencl_hostapp.c
opencl_kernel.cl
opencl.exp gdb 2011-03-07 16:03:04 +00:00
pascal.exp
prelink-support.exp
set_unbuffered_mode.c
trace-support.exp