Date: Tue, 12 Nov 2002 15:15:02 -0500 From: Amit Rao <arao@niksun.com> To: Zhihui Zhang <zzhang@cs.binghamton.edu>, freebsd-hackers@FreeBSD.ORG Subject: Re: A quick gdb help Message-ID: <200211122015.gACKF0VB079761@anuket.mj.niksun.com> In-Reply-To: <Pine.SOL.4.21.0211121450300.17062-100000@onyx> References: <Pine.SOL.4.21.0211121450300.17062-100000@onyx>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 12 November 2002 02:56 pm, Zhihui Zhang wrote: > I need to set a variable value in gdb: > > (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. This works: set (i) = 1 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?200211122015.gACKF0VB079761>