aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2001-06-14 19:17:00 +0000
committerMichael Snyder <msnyder@vmware.com>2001-06-14 19:17:00 +0000
commit0f1f2b0a26ea24ac814531304e6c50201bdd3766 (patch)
tree4ff3896b59bbeae273951092fbeba5d6b5242600
parent578c1fe6f0260a8a57947019c794dfe618f4a9b3 (diff)
downloadgdb-0f1f2b0a26ea24ac814531304e6c50201bdd3766.zip
gdb-0f1f2b0a26ea24ac814531304e6c50201bdd3766.tar.gz
gdb-0f1f2b0a26ea24ac814531304e6c50201bdd3766.tar.bz2
2001-06-13 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (Protocol): Add doc for new packet "qSymbol:".
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo46
2 files changed, 50 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 0f19bd9..e34896e 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-13 Michael Snyder <msnyder@redhat.com>
+
+ * gdb.texinfo (Protocol): Add doc for new packet "qSymbol:".
+
2001-06-13 Eli Zaretskii <eliz@is.elta.co.il>
* gdb.texinfo (Signals): Clarify the default setting of signal
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 708d4f6..88b808a 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.