From owner-freebsd-alpha Mon Jan 11 14:01:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA07267 for freebsd-alpha-outgoing; Mon, 11 Jan 1999 14:01:09 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA07255 for ; Mon, 11 Jan 1999 14:01:08 -0800 (PST) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id PAA12028; Mon, 11 Jan 1999 15:00:34 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp01.primenet.com, id smtpd011904; Mon Jan 11 15:00:20 1999 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id PAA00933; Mon, 11 Jan 1999 15:00:14 -0700 (MST) From: Terry Lambert Message-Id: <199901112200.PAA00933@usr05.primenet.com> Subject: Re: printing vm_offset_t's To: mjacob@feral.com Date: Mon, 11 Jan 1999 22:00:14 +0000 (GMT) Cc: tlambert@primenet.com, gallatin@cs.duke.edu, freebsd-alpha@FreeBSD.ORG In-Reply-To: from "Matthew Jacob" at Jan 11, 99 12:17:13 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > %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... I blame ANSI X3J11 for introducing "const" and "volatile" and attempting to introduce "noalias" and being lazy about linker technology so that compiler writers didn't have to do as much work, shoving the job off on compiler users (after all, compiler writers outnumber compiler users, right?), instead of biting the bullet and defining sized types. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message