Using gdb on 10.6.2 to debug a ppc binary

Is it possible to debug a PPC binary on 10.6.2 using the version of gdb that comes with Xcode 3.2.1? I have been sifting through the internet for a couple of hours now and have not seen this question asked anywhere. Currently this is what I am trying to do. I 'cd' into the directory of the PPC binary within the PPC.app directory. I then launch gdb using *gdb -arch ppc program* Some of the output looks like this: "This GDB was configured as "--host=x86_64-apple-darwin --target=powerpc-apple-darwin"...Reading symbols for shared libraries ... done" When I issue the run command I get "Don't know how to run. Try "help target"." I have no idea why this PPC will not run, but if anyone has any experience with this please let me know.

cheers.

mbp, Mac OS X (10.6.1)

Posted on Nov 23, 2009 7:37 AM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Using gdb on 10.6.2 to debug a ppc binary

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.