Apple used to ship a tool called amber
as part of CHUD with Xcode 2.5, which would allow you to get an instruction trace for a process. You could then feed the instruction trace to simg5
. The simg5
tool shipped with Xcode 3 but without amber
, which makes it kind of worthless (unless you have a bunch of traces lying around).
How do I get an instruction trace of an OS X / PowerPC process?
(I tried installing amber
from the Xcode 2.5 packages, but the package refused to run. I tried extracting the executable manually, but I get a bus error after I attach to a running process, killing both amber
and the target process.)