Linux Assembly Debugger
Answer a question
I need a debugger for assembly on Linux. I am extremely surprised by the LACK of debuggers out there for Linux! It should have various features, such as showing the registers and what not. I would use GDB, however it isn't exactly friendly with NASM.
I would rather have the debugger have intel syntax however I can make a sacrifice.
I have tried kdb, gdb/ddd, and ald. Does anyone know of any else? Don't recommend strace, because I am going beyond syscalls!
Answers
I am not sure what exactly you mean when you say that gdb is not friendly with NASM. The thing is that gdb uses AT&T notation for displaying assembler. NASM uses Intel notation. There are a couple of differences, which you can find on Google.
You can configure gdb to display assembler using Intel notation. The command is:
set disassembly-flavor intel
Programs that you've tried, kdb, ddd and friends are all gdb front-ends, i.e. they present you different UI while use gdb as their back-end.
I think your best and perhaps the only reasonable option is gdb. Another option is to write a debugger yourself, but this is quite complicated.
Hope it helps.
更多推荐

所有评论(0)