[kaffe] DArwin6 JIT3
Timothy Stack
stack at cs.utah.edu
Mon Feb 21 05:28:59 PST 2005
On Feb 20, 2005, at 12:52 PM, Dalibor Topic wrote:
> Timothy Stack wrote:
>> On Feb 20, 2005, at 5:21 AM, Dalibor Topic wrote:
>> As for why stuff doesn't work, have you guys tried reverting my last
>> changes to
>> sysdepCallMethod and the ppc trampoline? I probably screwed it up
>> wrt darwin
>> when I was getting linux to work.
>
> Hi Tim!
>
> In order to get familiar with the jit3/ppc setup i thought about
> porting the mnemonicizer setup to x86. Does that souind like a useful
> idea?
The script is a bit specific to PowerPC/RISC architectures, and x86 is
so different
at the bit level that I don't think it'll help much.
> ah! xdebugging works with ppc?
It should, whether or not it works has more to do with the toolchain
than the CPU.
>> # disassemble the native code.
>> (gdb) disas meth.ncode # or whatever the structure is nowadays
>> It doesn't always work quite right unfortunately, but it should get
>> you pretty far.
>
> thanks :) any ppc-assmebler reference you could recommend?
I was using the "compiler writers guide" and the main architecture
manual that I
got in pdf form. Unfortunately, I don't have the links handy. For
dealing with
ABI stuff, the OS-X stuff should be in the "mach-o" runtime
documentation
provided by apple, i think.
> cheers,
> dalibor topic
tim
More information about the kaffe
mailing list