diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index d62231d675..4ad06bcfd0 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 2eb1dd85e2..5b21767aea 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