On Oct 10, 2018, at 8:23 PM, Jd Lyons via OpenBIOS openbios@openbios.org wrote:
On Oct 10, 2018, at 6:31 AM, Programmingkid programmingkidx@gmail.com wrote:
On Oct 10, 2018, at 12:05 AM, Jd Lyons via OpenBIOS openbios@openbios.org wrote:
I need to try and debug the macOS trampoline inits during the early boot process of OS 9. I’m thinking Qemu supports this, but I’m unsure how to set it up?
I installed gdb-multiarch and started qemu with:
Qemu-system-ppc -s -S
The launched gdb-multiarch and connected to port 1234.
Is this the correct toolchain for debugging PPC code on an X86 host, or do I need to do something else?
I used Apple's PowerPC gdb.
My host system is X86, I was thinking Mark, or someone here once outlined a way to debug Openbios by installing some sort of powerpc debug tools on X86?
OpenBIOS http://openbios.org/ Mailinglist: http://lists.openbios.org/mailman/listinfo Free your System - May the Forth be with you
Ok, breakpoint not working with gdb-multiarch:
(gdb)target remote localhost:1234 (gdb)break CalcRAMSize (gdb)continue
It just boots the Mac OS and only waits before continue.
I'm sure I'm doing something wrong here, maybe I need some PPC Libs installed, my host is X86?