Date: 13 Nov 2002 08:09:48 +0100 From: Alexander Pohoyda <alexander.pohoyda@gmx.net> To: Zhihui Zhang <zzhang@cs.binghamton.edu> Cc: freebsd-hackers@freebsd.org Subject: Re: A quick gdb help Message-ID: <87u1imgd37.fsf@oak.pohoyda.family> In-Reply-To: Zhihui Zhang's message of "Tue, 12 Nov 2002 14:56:10 -0500 (EST)" References: <Pine.SOL.4.21.0211121450300.17062-100000@onyx>
next in thread | previous in thread | raw e-mail | index | archive | help
Zhihui Zhang <zzhang@cs.binghamton.edu> 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 <alexander.pohoyda@gmx.net> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87u1imgd37.fsf>