2001-06-13 Michael Snyder <msnyder@redhat.com>

* gdb.texinfo (Protocol): Add doc for new packet "qSymbol:".
This commit is contained in:
Michael Snyder 2001-06-14 19:17:00 +00:00
parent 578c1fe6f0
commit 0f1f2b0a26
2 changed files with 50 additions and 0 deletions

View File

@ -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

View File

@ -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.