* gdb.texinfo (Monitor commands for gdbserver): New subsection.

* remote-utils.c (monitor_output): New function.
	* server.c (debug_threads): Define here.
	(monitor_show_help): New function.
	(handle_query): Handle qRcmd.
	(main): Do not handle 'd' packet.
	* server.h (debug_threads, remote_debug, monitor_output): Declare.
	* linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions
	of debug_threads.

	* gdb.server/server-mon.exp: New test.
This commit is contained in:
Daniel Jacobowitz 2007-02-26 20:10:18 +00:00
parent 2711e4564f
commit c74d0ad827
11 changed files with 176 additions and 7 deletions

View file

@ -77,8 +77,6 @@ struct pending_signals
static int use_regsets_p = 1;
#endif
int debug_threads = 0;
#define pid_of(proc) ((proc)->head.id)
/* FIXME: Delete eventually. */