>>>>> "Oleg" == Oleg Nesterov <o...@redhat.com> writes:

>> I've always just used:
>> (gdb) set var=0

Oleg> No, I tried this too, doesn't work.
Oleg>   (gdb) set var=0
Oleg>   A syntax error in expression, near `=0'.

Yeah, it is ambiguous if the actual variable name conflicts with any gdb
"set" subcommand.

I typically just use call or print.

Tom

Reply via email to