From owner-freebsd-hackers Tue Nov 12 11:56:16 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 874A837B404 for <freebsd-hackers@freebsd.org>; Tue, 12 Nov 2002 11:56:15 -0800 (PST) Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 819D243E4A for <freebsd-hackers@freebsd.org>; Tue, 12 Nov 2002 11:56:14 -0800 (PST) (envelope-from zzhang@cs.binghamton.edu) Received: from onyx ([128.226.182.171]) by bingnet2.cc.binghamton.edu (8.11.6/8.11.6) with ESMTP id gACJuBw16038 for <freebsd-hackers@freebsd.org>; Tue, 12 Nov 2002 14:56:11 -0500 (EST) Date: Tue, 12 Nov 2002 14:56:10 -0500 (EST) From: Zhihui Zhang <zzhang@cs.binghamton.edu> X-Sender: zzhang@onyx To: freebsd-hackers@freebsd.org Subject: A quick gdb help Message-ID: <Pine.SOL.4.21.0211121450300.17062-100000@onyx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-hackers.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-hackers> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-hackers> X-Loop: FreeBSD.ORG 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. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message