aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-02-26 20:10:18 +0000
committerDaniel Jacobowitz <drow@false.org>2007-02-26 20:10:18 +0000
commitc74d0ad8276928d58b080ecd50eb5026aac49c5d (patch)
tree609bae4ed2a63d4b044efa52927634fc265d4904 /gdb/doc
parent2711e4564f4ab411bdf2cedff3fb92abadd630b8 (diff)
downloadgdb-c74d0ad8276928d58b080ecd50eb5026aac49c5d.zip
gdb-c74d0ad8276928d58b080ecd50eb5026aac49c5d.tar.gz
gdb-c74d0ad8276928d58b080ecd50eb5026aac49c5d.tar.bz2
* 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.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo23
2 files changed, 27 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index f083bb2..10b75ba 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,9 @@
2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
+ * gdb.texinfo (Monitor commands for gdbserver): New subsection.
+
+2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
+
* src/gdb/doc/gdb.texinfo (Standard Target Features): Mention
case insensitivity.
(ARM Features): Describe org.gnu.gdb.xscale.iwmmxt.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index a2d27e3..1324e16 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -12775,6 +12775,29 @@ already on the target.
@end table
+@subsection Monitor commands for @code{gdbserver}
+@cindex monitor commands, for @code{gdbserver}
+
+During a @value{GDBN} session using @code{gdbserver}, you can use the
+@code{monitor} command to send special requests to @code{gdbserver}.
+Here are the available commands; they are only of interest when
+debugging @value{GDBN} or @code{gdbserver}.
+
+@table @code
+@item monitor help
+List the available monitor commands.
+
+@item monitor set debug 0
+@itemx monitor set debug 1
+Disable or enable general debugging messages.
+
+@item monitor set remote-debug 0
+@itemx monitor set remote-debug 1
+Disable or enable specific debugging messages associated with the remote
+protocol (@pxref{Remote Protocol}).
+
+@end table
+
@node Remote configuration
@section Remote configuration