• 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
resolving backtraces created on Intel when working on PowerPC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

resolving backtraces created on Intel when working on PowerPC


  • Subject: resolving backtraces created on Intel when working on PowerPC
  • From: Jens Miltner <email@hidden>
  • Date: Mon, 23 Jan 2006 11:50:17 +0100

Hi,

I'm trying to resolve [non-symbolic] backtraces from our universal binary when it has been running on the "other" architecture, i.e. suppose I'm working on a PowerPC machine, but need to resolve backtraces from the Intel part of the Universal Binary.

My initial attempt (after I realized that straightforward usage of atos on the universal binary always uses the current architecture and thus gives incorrect backtraces when the executable was run on another architecture) was to use lipo to extract the architecture that was run when the backtrace was produced and then use atos on the extracted executable, e.g.

lipo -thin i386 my_universal_binary -output /tmp/ppc_binary
atos -o /tmp/ppc_binary 0x95c3b090  0x927303fb  0x927e7b2e  0x92707dbf  0x90a45061  0x00020a19 ...

However, atos complains that the mach-o signature doesn't match, so it only seems to be able to work with native binaries :(
Same applies for gdb - when I try to load the intel binary in gdb running on PowerPC, it can't work with it.
Damn!

Any ideas how to resolve an intel backtrace on PowerPC and vice versa (given a universal binary with symbols)? 

Thanks,
</jum>

 _______________________________________________
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

  • Follow-Ups:
    • Re: resolving backtraces created on Intel when working on PowerPC
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Compare files?
  • Next by Date: Re: resolving backtraces created on Intel when working on PowerPC
  • Previous by thread: Re: gcc failure with i386 asm
  • Next by thread: Re: resolving backtraces created on Intel when working on PowerPC
  • Index(es):
    • Date
    • Thread