Hi, Last week I worked a bit on my powerpc64 port and I ran into some trouble. I'll try to formulate what that trouble was in another post (maybe) in the next few days but I just have this question: How can I use Qemu better? I'm using the 970FX emulation with 1 cpu for now and I'm running into some LR register corruption, and at first glance it seems the asm is alright (in that it saves LR on the stack after a mflr, and pops the stack later and restores LR with mtlr.
Would it be beneficial to use Qemu on the macppc arch instead of the amd64 arch or doesn't it matter? One good thing with the amd64 arch is that I can take my work along on weekends to my parents house, where i have no access to the G5. I'm not letting the G5 idle at 140 Watts. The 6.5 macppc qemu is broken, so I'll have to take my G5 to -current perhaps to see if I can get qemu to compile. Another thing with Qemu that I have problems with is the entire 'show registers' output in the monitor, it doesn't feel like it correctly displays right data. I have also used the x (examine) function in the monitor which is like the gdb memory examination. Is there any other monitor commands that you might have experience with that are a really good debug tool? Regards, -peter