Zhihui Zhang <[EMAIL PROTECTED]> writes:

> (gdb) set xyz = 1      <- works
> (gdb) set i = 1        <- syntax error near '1'
> 
> I guess i must have special meaning in gdb. But what if I insist setting
> it, is there a way?   Thanks.

Use `set var[iable] i = 1' or `p[rint] i = 1'.

More information in `Assignment to variables' node at `info gdb'.


-- 
Alexander Pohoyda
<[EMAIL PROTECTED]>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to