From owner-freebsd-sparc Sun Jan 12 12:44:47 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F0CD37B401 for ; Sun, 12 Jan 2003 12:44:46 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C59A43E4A for ; Sun, 12 Jan 2003 12:44:45 -0800 (PST) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (strings.polstra.com [206.213.73.20]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h0CKiiu4087221 for ; Sun, 12 Jan 2003 12:44:44 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.5.1 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sun, 12 Jan 2003 12:44:44 -0800 (PST) Organization: Polstra & Co., Inc. From: John Polstra To: sparc@freebsd.org Subject: Question about odd stack pointer values on sparc64 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Still working on getting Modula-3 going on Sparc64. I think I'm getting close ... In GDB I notice that the stack pointer and frame pointer are often (always?) odd numbers, e.g.: (gdb) p/x $sp $1 = 0x7fdffffdec1 (gdb) p/x $fp $2 = 0x7fdffffdfb1 What is the reason for that? Are the low-order bits simply ignored? Surely the stack is more aligned than that. I'm pretty sure this is confusing the M3 garbage collector. It just might be the proverbial Last Bug. :-) Thanks, John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message