gdbstub initial code, v9

Jan Kratochvil jan.kratochvil@redhat.com
Thu Sep 9 16:36:00 GMT 2010


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


Regards,
Jan



More information about the Archer mailing list