I've got Xcode 3 on MBP. I was able to compile a ppc-only console app by using vi to edit the project file and specify ppc as the arch. (Instead of the NATIVE_ARCH).
The app runs correctly, so I believe it is built properly.
Can gdb be used either in Xcode or terminal to debug a ppc-only app on an i386 platform?
The gdb takes parameters that would make it appear this is possible (--translate & -arch), but when I try, I get some bizarre errors from gdb as the program starts running, and it then hangs and has to be killed.
I'm doing: gdb --translate -arch=ppc myprog
Any comments appreciated.
The app runs correctly, so I believe it is built properly.
Can gdb be used either in Xcode or terminal to debug a ppc-only app on an i386 platform?
The gdb takes parameters that would make it appear this is possible (--translate & -arch), but when I try, I get some bizarre errors from gdb as the program starts running, and it then hangs and has to be killed.
I'm doing: gdb --translate -arch=ppc myprog
Any comments appreciated.