On Thu, Apr 20, 2000 at 06:25:22PM +0200, Florian Lohoff wrote:
> What does "thread_saved_pc(&p->thread);" return ? Does it really
> return the exact address of the schedule functions as assumed in
> 205-214 ?
It's supposed to return the address at which a currently non-executing
process will continue it's execution.
> Most other architectures search the stack page for the calling function
> but it seems their asmlinkage is more strict in the means of
> location of the return address on the stack.
Yep, unwinding MIPS stackframes is not possible for the general case unless
you use debug information. We don't want that, so have to use an
alternative solution that is fairly fragile and you're observing yet another
case of this.