From owner-freebsd-alpha Mon Jan 11 12:18:20 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA23762 for freebsd-alpha-outgoing; Mon, 11 Jan 1999 12:18:20 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from feral-gw.feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA23531 for ; Mon, 11 Jan 1999 12:18:07 -0800 (PST) (envelope-from mjacob@feral.com) Received: from localhost (mjacob@localhost) by feral-gw.feral.com (8.8.7/8.8.7) with ESMTP id MAA19422; Mon, 11 Jan 1999 12:17:14 -0800 Date: Mon, 11 Jan 1999 12:17:13 -0800 (PST) From: Matthew Jacob X-Sender: mjacob@feral-gw Reply-To: mjacob@feral.com To: Terry Lambert cc: Andrew Gallatin , freebsd-alpha@FreeBSD.ORG Subject: Re: printing vm_offset_t's In-Reply-To: <199901111957.MAA25498@usr05.primenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 11 Jan 1999, Terry Lambert wrote: > Two comments on this thread: > > > > > Matthew Jacob writes: > > > > > > > > > > Hmm. How about %p? > > > > > > > > That's another option, but unless you cast the arg to a pointer (like > > > > void *), you get > > > > > > > > warning: format argument is not a pointer (arg 4) > > %qx is the accepted draft standard methid of printing quad values. > You will need to cast , in any case, if vm_offset_t is not considered > a pointer type by the debugger, or it will not push sufficient information > onto the stack. Is vm_offset_t always a 'quad' and what the heck is a 'quad'? C is *sooooo* broken in that it can't pony up to the bar and say what it wants in terms of sizes... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message