This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdbstub initial code, v9


>>>>> "Oleg" == Oleg Nesterov <oleg@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]