From: Eli Zaretskii Date: Sat, 3 Dec 2005 12:44:31 +0000 (+0000) Subject: * gdb.texinfo (Connecting): Explain that `monitor' is a way to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fad38dfad41ef8f68b64ce54e9699b6ba75e9090;p=binutils-gdb.git * gdb.texinfo (Connecting): Explain that `monitor' is a way to extend GDB with commands for external monitor. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index d62231d6752..4ad06bcfd01 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2005-12-03 Eli Zaretskii + + * gdb.texinfo (Connecting): Explain that `monitor' is a way to + extend GDB with commands for external monitor. + 2005-12-02 Andrew Stubbs * gdb.texinfo (Convenience variables): Add init-if-undefined command. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 2eb1dd85e2a..5b21767aea6 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -11966,10 +11966,15 @@ the @code{disconnect} command, @value{GDBN} is again free to connect to another target. @cindex send command to remote monitor +@cindex extend @value{GDBN} for remote targets +@cindex add new commands for external monitor @kindex monitor @item monitor @var{cmd} -This command allows you to send commands directly to the remote -monitor. +This command allows you to send arbitrary commands directly to the +remote monitor. Since @value{GDBN} doesn't care about the commands it +sends like this, this command is the way to extend @value{GDBN}---you +can add new commands that only the external monitor will understand +and implement. @end table @node Server