• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Unable to debug my app on machine it wasn't built on
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to debug my app on machine it wasn't built on


  • Subject: Unable to debug my app on machine it wasn't built on
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 27 May 2008 11:36:53 -0700

I've got two Macs here, one for development and one for testing. I build on the development machine and copy the app bundle over to the tester. It runs fine on both, but on the test machine I get errors if I try to attach to it in gdb, or even use tools like 'nm' or 'atos' on its binary.

gdb on launch prints a long list of:
	unable to read unknown load command 0x1b
There are about 20 of those lines, some with 0x1d or 0x1e or 0x1f; then:
	bfd_mach_o_scan: unknown architecture 0x1000007/0x3
then a bunch more load command errors.

The 'nm' command prints:
nm: for architecture ppc7400 object: Cloudy malformed object (unknown load command 8)


There's no difference whether I copy the app using rsync or AFP.

The dev machine is a MacBook Pro, the tester a G4 Mac Mini. Both run 10.5.2. I do a fat build in Xcode, of course, so it'll run on both. It's a debug build so it should have full symbols.

Any ideas? Is something misconfigured on the test machine?

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: 'vector' undeclared error
  • Next by Date: Python-Cocoa include external modules?
  • Previous by thread: Re: 'vector' undeclared error
  • Next by thread: Re: Unable to debug my app on machine it wasn't built on
  • Index(es):
    • Date
    • Thread