From: Michael Snyder Date: Thu, 14 Jun 2001 19:17:00 +0000 (+0000) Subject: 2001-06-13 Michael Snyder X-Git-Tag: dberlin-typesystem-branchpoint~240 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f1f2b0a26ea24ac814531304e6c50201bdd3766;p=thirdparty%2Fbinutils-gdb.git 2001-06-13 Michael Snyder * gdb.texinfo (Protocol): Add doc for new packet "qSymbol:". --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 0f19bd97e46..e34896e787e 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 708d4f6b5bc..88b808acd57 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.