From owner-freebsd-hackers Tue Nov 12 12:21:11 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 36B8937B404 for ; Tue, 12 Nov 2002 12:21:10 -0800 (PST) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 087E643E4A for ; Tue, 12 Nov 2002 12:21:09 -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 gACKKYVB079866; Tue, 12 Nov 2002 15:20:35 -0500 (EST) (envelope-from arao@niksun.com) X-RAV-AntiVirus: This e-mail has been scanned for viruses. Message-Id: <200211122020.gACKKYVB079866@anuket.mj.niksun.com> Content-Type: text/plain; charset="iso-8859-1" From: Amit Rao To: Chuck Tuffli , Zhihui Zhang Subject: Re: A quick gdb help Date: Tue, 12 Nov 2002 15:20:36 -0500 X-Mailer: KMail [version 1.3.2] Cc: freebsd-hackers@FreeBSD.ORG References: <20021112200343.GC892@thegrail.rose.agilent.com> In-Reply-To: <20021112200343.GC892@thegrail.rose.agilent.com> 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 03:03 pm, Chuck Tuffli wrote: > 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. Actually its short for set input-radix (gdb) help set i Set default input radix for entering numbers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message