From owner-freebsd-hackers Tue Nov 12 12: 7:56 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 C9A3737B404 for ; Tue, 12 Nov 2002 12:07:55 -0800 (PST) Received: from msgbas2.cos.agilent.com (msgbas2x.cos.agilent.com [192.25.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B0C443E42 for ; Tue, 12 Nov 2002 12:07:55 -0800 (PST) (envelope-from ctuffli@rose.agilent.com) Received: from relcos1.cos.agilent.com (relcos1.cos.agilent.com [130.29.152.239]) by msgbas2.cos.agilent.com (Postfix) with ESMTP id A77021A8C for ; Tue, 12 Nov 2002 13:07:51 -0700 (MST) Received: from rtl.rose.agilent.com (rtl.rose.agilent.com [130.30.179.189]) by relcos1.cos.agilent.com (Postfix) with ESMTP id 28DFC378 for ; Tue, 12 Nov 2002 13:07:51 -0700 (MST) Received: from mail.rose.agilent.com (mailsrv@bellhop [130.30.179.19]) by rtl.rose.agilent.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.1.0) with ESMTP id MAA16298 for ; Tue, 12 Nov 2002 12:07:49 -0800 (PST) Received: from thegrail (anu.rose.agilent.com [156.140.225.186]) by mail.rose.agilent.com (Netscape Messaging Server 3.6) with ESMTP id AAA63C; Tue, 12 Nov 2002 12:07:46 -0800 Received: by thegrail (Postfix, from userid 1001) id 89ADF8358C; Tue, 12 Nov 2002 12:03:50 -0800 (PST) Date: Tue, 12 Nov 2002 12:03:50 -0800 From: Chuck Tuffli To: Zhihui Zhang Cc: freebsd-hackers@freebsd.org Subject: Re: A quick gdb help Message-ID: <20021112200343.GC892@thegrail.rose.agilent.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i 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 Tue, Nov 12, 2002 at 02:56:10PM -0500, 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. 'i' is shorthand (or an alias) for the info command. Not sure if you can effectively "unalias" i. -- Chuck Tuffli Agilent Technologies, Storage and Networking To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message