Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2002 15:20:36 -0500
From:      Amit Rao <arao@niksun.com>
To:        Chuck Tuffli <chuck_tuffli@agilent.com>, Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: A quick gdb help
Message-ID:  <200211122020.gACKKYVB079866@anuket.mj.niksun.com>
In-Reply-To: <20021112200343.GC892@thegrail.rose.agilent.com>
References:  <Pine.SOL.4.21.0211121450300.17062-100000@onyx> <20021112200343.GC892@thegrail.rose.agilent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211122020.gACKKYVB079866>