gcj 4.3.0 on mpc860 kernel 2.4.24

Ben Gardiner BenGardiner@nanometrics.ca
Tue May 13 15:19:00 GMT 2008


Andrew Haley wrote:
> Ben Gardiner wrote:
>   
>> (gdb) x/4i $pc
>> 0xef69570 <java.lang.String.length()int>:       lwz     r3,12(r3)
>> 0xef69574 <java.lang.String.length()int+4>:     blr
>> 0xef69578 <java.lang.String.codePointAt(int)int>:       stwu    r1,-32(r1)
>> 0xef6957c <java.lang.String.codePointAt(int)int+4>:     mflr    r0
>> (gdb) p $r3
>> $1 = 805646056
>> -----------------------------------------
>> Do you still suspect the garbage collector ?
>>     
>
> I'm not sure.  That pointer looks like it might be text data.  I think there's
> something not quite right about the way structures are laid out in memory.
>
> Andrew.
>   

Thank you so much for your input on this. I greatly appreciate the 
benefit of your expertise.

I'm going to go back and rebuild the toolchain paying special attention 
to the configuration this time. For now I think this thread can be 
marked PEBKAC.

Best Regards,
Ben Gardiner



More information about the Java mailing list