KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In the disassembly there's such code: movl $0x6,-0x4(%rbp) I try to print the value this way but fails: (gdb) p 0x4(%esp) A syntax error in expression, near `%esp)'. (gdb) p 0x4+$esp Argument to arithmetic operation not a number or boolean. How to print it correctly?
Tags (comma-separated)
Save Edits
Cancel