From owner-freebsd-hackers Tue Nov 12 12:15:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DD9B37B401 for ; Tue, 12 Nov 2002 12:15:09 -0800 (PST) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58A1F43E8A for ; Tue, 12 Nov 2002 12:15:08 -0800 (PST) (envelope-from arao@niksun.com) Received: from there (anuket.mj.niksun.com [10.70.0.5]) by anuket.mj.niksun.com (8.12.3/8.12.3) with SMTP id gACKF0VB079761; Tue, 12 Nov 2002 15:15:00 -0500 (EST) (envelope-from arao@niksun.com) X-RAV-AntiVirus: This e-mail has been scanned for viruses. Message-Id: <200211122015.gACKF0VB079761@anuket.mj.niksun.com> Content-Type: text/plain; charset="iso-8859-1" From: Amit Rao To: Zhihui Zhang , freebsd-hackers@FreeBSD.ORG Subject: Re: A quick gdb help Date: Tue, 12 Nov 2002 15:15:02 -0500 X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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