From de782bc1ed3e6c6124e7a1c38987bee095a843e6 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 14 Jun 2001 19:17:00 +0000 Subject: [PATCH] 2001-06-13 Michael Snyder * gdb.texinfo (Protocol): Add doc for new packet "qSymbol:". --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdb.texinfo | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 0f19bd97e4..e34896e787 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2001-06-13 Michael Snyder + + * gdb.texinfo (Protocol): Add doc for new packet "qSymbol:". + 2001-06-13 Eli Zaretskii * gdb.texinfo (Signals): Clarify the default setting of signal diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 708d4f6b5b..88b808acd5 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -10407,6 +10407,52 @@ Indicate a badly formed request. @tab When @samp{q}@samp{Rcmd} is not recognized. +@item symbol lookup +@tab @code{qSymbol::} +@tab +Notify the target that @value{GDBN} is prepared to serve symbol lookup +requests. Accept requests from the target for the values of symbols. +@item +@tab +@tab +@item +@tab reply @code{OK} +@tab +The target does not need to look up any (more) symbols. +@item +@tab reply @code{qSymbol:}@var{sym_name} +@tab +The target requests the value of symbol @var{sym_name} (hex encoded). +@value{GDBN} may provide the value by using the +@code{qSymbol:}@var{sym_value}:@var{sym_name} +message, described below. + +@item symbol value +@tab @code{qSymbol:}@var{sym_value}:@var{sym_name} +@tab +Set the value of SYM_NAME to SYM_VALUE. +@item +@tab +@tab +@var{sym_name} (hex encoded) is the name of a symbol whose value +the target has previously requested. +@item +@tab +@tab +@var{sym_value} (hex) is the value for symbol @var{sym_name}. +If @value{GDBN} cannot supply a value for @var{sym_name}, then this +field will be empty. +@item +@tab reply @code{OK} +@tab +The target does not need to look up any (more) symbols. +@item +@tab reply @code{qSymbol:}@var{sym_name} +@tab +The target requests the value of a new symbol @var{sym_name} (hex encoded). +@value{GDBN} will continue to supply the values of symbols (if available), +until the target ceases to request them. + @end multitable The following @samp{g}/@samp{G} packets have previously been defined. -- 2.11.0