4 ms·
Pretty awesome - the only thing I would change is for the ability to switch to Intel syntax for the disassembly. Maybe I'm the only one - but I find intel synta
by nadams 11y ago
Pretty awesome - the only thing I would change is for the ability to switch to Intel syntax for the disassembly. Maybe I'm the only one - but I find intel syntax easier to read.
- userbinator 11y agoYou're not the only one, plenty of others agree: http://x86asm.net/articles/what-i-dislike-about-gas/ http://x86asm.net/articles/what-i-dislike-about-gas/ But another thing I can say from experience is that GDB Asm-level debugging seems to be more of an afterthought and everything doesn't make as much sense as e.g. OllyDbg or even the old MS-DOS DEBUG. The behaviour of some commands like "disassemble" is perplexing at best[1]. It was really meant for use with higher-level languages. [1] http://stackoverflow.com/questions/1237489/how-can-i-force-gdb-to-disassemble http://stackoverflow.com/questions/1237489/how-can-i-force-g...
- barrkel 11y agoMy experience of gdb asm-level debugging is that it is incredibly buggy and dumps core at the drop of a hat. It's not fit for purpose. I've taken to using it to get a disassembly listing of the problematic code and simply analyzing it in an editor, rather than risk doing anything in gdb.
- cyrusand 11y agoGlad to hear that! I'm the guy who wrote that thing. You can change the syntax with the built-in GDB command `set disassembly-flavor intel`.