Date: Mon, 11 Jan 1999 12:17:13 -0800 (PST) From: Matthew Jacob <mjacob@feral.com> To: Terry Lambert <tlambert@primenet.com> Cc: Andrew Gallatin <gallatin@cs.duke.edu>, freebsd-alpha@FreeBSD.ORG Subject: Re: printing vm_offset_t's Message-ID: <Pine.LNX.4.04.9901111216260.18573-100000@feral-gw> In-Reply-To: <199901111957.MAA25498@usr05.primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.04.9901111216260.18573-100000>