[kaffe] 1.0.5 porting on SuperUx (64bit)
Dalibor Topic
robilad@yahoo.com
Sun Jun 22 03:16:01 2003
Hi Noida,
--- "Neetu Gupta, Noida" <neetug@noida.hcltech.com> wrote:
> While debugging I found, that in certain conditions,
> jthread_on_current_stack() function in file jthread.h returns rc=0 which
> means address of bp(input parameter to the function) is exceeding the
> stackEnd of currentJThread.
> This case had never arisen on Solaris.
>
> For your information, I've already changed the code in function
> jthread_on_current_stack() as the following instruction was behaving
> differently for 32 bit and 64 bit machines
>
> rc = bp >= currentJThread->stackBase && bp < currentJThread->stackEnd;
>
> to
>
> rc = (unsigned long)bp >= (unsigned long)(currentJThread->stackBase) &&
> (unsigned long)bp < (unsigned long)(currentJThread->stackEnd);
have you had an opportunity to try out 1.1.0 instead of 1.0.5 ? Is the patch
still necessary?
cheers,
dalibor topic
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com