【发布时间】:2019-02-07 03:16:08
【问题描述】:
gdb 的 info registers 与 lldb 的等价物是什么?
我正在尝试类似的东西
$ lldb /path/to/hello_world
(lldb) target create "/Users/kakyo/Desktop/LearnAssembly/hello_world/Debug/hello_world"
Current executable set to '/Users/kakyo/Desktop/LearnAssembly/hello_world/Debug/hello_world' (x86_64).
(lldb) register read
error: invalid process
添加 sudo 或尝试任何其他可执行文件或 .app 包都会给我同样的 invalid process 错误。
这里有什么问题?
我检查了许多备忘单,但找不到正确的命令或序列。
【问题讨论】: