On 09/10, Roland McGrath wrote:
>
> > >>>>> "Oleg" == Oleg Nesterov <o...@redhat.com> writes:
> >
> > Oleg>       (gdb) set var 0
> >
> > You need:  set variable var = 0
> > The "variable" can be abbreviated.
>
> I've always just used:
>
>       (gdb) set var=0

No, I tried this too, doesn't work.

        (gdb) set var=0
        A syntax error in expression, near `=0'.

But, it turns out I choosed a bad name for the variable when
I tested the fix in unxex().

        (gdb) set xxx=0

This works.

        (gdb) set var var=0

This works too. I guess, when gdb sees "set var" it expects the
full "set variable ..." command.

Oleg.

Reply via email to