Linked Questions

Popular Questions

lldb: View all registers on macOS

Asked by At

What's the equivalent of gdb's info registers with lldb? I'm trying with something like

$ 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

Adding sudo or trying any other executables or .app bundles gives me the same invalid process error.

What's wrong here?

I checked many cheatsheets and couldn't find the right command or sequence.

Related Questions