linux-mips
[Top] [All Lists]

debian's mips userland on mips64

To: linux-mips@linux-mips.org
Subject: debian's mips userland on mips64
From: Andrew Clausen <clausen@melbourne.sgi.com>
Date: Wed, 22 Jan 2003 18:30:06 +1100
Cc: gnb@melbourne.sgi.com
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4i
Hi all,

I'm playing with Debian on an Origin 200 (aka ip27 - 64-bit mips).
The current setup in the mips64-linux world is 64bit kernel +
32bit userland.  So, a mips64-linux kernel can be mostly run a
mips32-linux userland out of the box.

Unfortunately, this doesn't apply to strace, as this play with
the 64bit kernel's stack (eg: struct pt_regs), which is different in
mips32 and mips64.

So, I guess the solution is to hack (it's ugly as hell already...)
strace to detect and understand the 64 bit stack from a 32 bit
userland?

Cheers,
Andrew


<Prev in Thread] Current Thread [Next in Thread>