Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2003 12:44:44 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        sparc@freebsd.org
Subject:   Question about odd stack pointer values on sparc64
Message-ID:  <XFMail.20030112124444.jdp@polstra.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030112124444.jdp>