This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: gdbstub initial code, v9
On 09/10, Roland McGrath wrote:
>
> > >>>>> "Oleg" == Oleg Nesterov <oleg@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.
- References:
- gdbstub initial code, v9
- Re: gdbstub initial code, v9
- Re: gdbstub initial code, v9
- Re: gdbstub initial code, v9
- Re: gdbstub initial code, v9
- Re: gdbstub initial code, v9
- Re: gdbstub initial code, v9
- Re: gdbstub initial code, v9
- Re: gdbstub initial code, v9
- Re: gdbstub initial code, v9