Subject: Re: MIPS32 24Kc port
To: None <1978nv@gmail.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-mips
Date: 07/25/2007 23:48:07
1978nv@gmail.com wrote:

> trace doesn't show much. It just shows the panic function.
> mipsX_subr.S changes $sp to 'start', hence the debugger
> is not able to backtrack.
> 
> Is there a way to figure what the original stack pointer is?

Ah, yes, trace command wasn't usable on mips ports.
How about these changes?
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/mips/mips/trap.c#rev1.212
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/mips/conf/Makefile.mips#rev1.46

(I haven't tried on netbsd-3 branch though)
---
Izumi Tsutsui