command qSymbol

Format: ‘qSymbol::’ or ‘qSymbol:sym_value:sym_name’

Meaning: (qSymbol::) Notify the target that GDB is prepared to serve symbol lookup requests. Accept requests from the target for the values of symbols.

(qSymbol:sym_value:sym_name) Set the value of sym_name to sym_value.

sym_name (hex encoded) is the name of a symbol whose value the target has previously requested.

sym_value (hex) is the value for symbol sym_name. If GDB cannot supply a value for sym_name, then this field will be empty.

Reply:

OK

The target does not need to look up any (more) symbols.

qSymbol:sym_name

The target requests the value of symbol sym_name (hex encoded).