Re: proposal -- new struct frame layout

[email protected] 12 Nov 2002 09:03:46 -0800
Newsgroups gmane.os.netbsd.ports.mips
Message-ID <[email protected]>
At Tue, 12 Nov 2002 14:42:39 +0000 (UTC), "Toru Nishimura" wrote:
> Guys,
> 
> As N32 is going to be reality, I'd like to make a proposal about
> the new exception frame design.  Since N32 struct frame would be
> incompatible with O32 design we have now, struct reg will differ,
> core dump format will follow, and debugger and some other
> applications must be aware about such the aspects.
> 
> Here, proposed new struct frame is like;

Looks mostly good to me, with one obvious question:

what goes in f_regs[0] ?

I mean, OK, OK, it's nice to have the array sized as you'd expect,
but, uh, since you _did_ tout smaller space consumption for these
things, why not squish the obvious register.


cgd