Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2002 12:03:50 -0800
From:      Chuck Tuffli <chuck_tuffli@agilent.com>
To:        Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: A quick gdb help
Message-ID:  <20021112200343.GC892@thegrail.rose.agilent.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 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    <chuck_tuffli AT agilent DOT com>
Agilent Technologies, Storage and Networking

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?20021112200343.GC892>