如何在 Mac OS X 10.5 PPC 上获取指令跟踪?
Apple 曾经将一个名为 amber
的工具作为 Xcode 2.5 的 CHUD 的一部分提供,它允许您获取进程的指令跟踪。然后,您可以将指令跟踪提供给 simg5
。 simg5
工具随 Xcode 3 一起提供,但没有 amber
,这使得它毫无价值(除非您周围有一堆痕迹)。
如何获取 OS X / PowerPC 进程的指令跟踪?
(我尝试从 Xcode 2.5 包安装 amber
,但该包拒绝运行。我尝试手动提取可执行文件,但在附加到正在运行的进程后出现总线错误,杀死了两个 amber
和目标进程。)
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.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论