This is the mail archive of the
mailing list for the Archer project.
Re: gdbstub initial code, v9
On Thu, 09 Sep 2010 18:30:31 +0200, Oleg Nesterov wrote:
> OOPS! indeed, unhex() confuses lo and hi.
It works for 0xcc, though.
> Cough... could you tell me how can I change the variable "done"
> without printing it?
(gdb) help set variable
Evaluate expression EXP and assign result to variable VAR, using assignment
syntax appropriate for the current language (VAR = EXP or VAR := EXP for
example). VAR may be a debugger "convenience" variable (names starting
with $), a register (a few standard names starting with $), or an actual
variable in the program being debugged. EXP is any valid expression.
This may usually be abbreviated to simply "set".