I have a binary file made with nasm -f which I want to do some debugging, or close enough. So far I know, nasm doesn't generate proper symbols for debugging to a binary file, right? which approach could I use to e.g, see each value passed on register/memory a time? I have an "array" in a assembly program that I want to see each value of. Is there any tool would help to perform this task?

有帮助吗?

解决方案

If you are on linux, you should use nasm -f elf -F dwarf to get debug information, and make sure you are not stripping them during linking.

Also, to see register or memory contents you don't need debug info.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top