GDB Disassembly in Intel Format
I’ve used GDB off and on as needed (don’t you?) but never really took the time to care that the disassembler used AT&T format. Usually I’d slog through it since I’m used to the Intel format and be done with GDB for awhile. Nevertheless, it started bugging me again today while playing with the debug tools in Eclipse. Turns out that it’s fairly easy to change all instances of GDB to use the Intel notation (matching some of the tools I use at work)ⁱ.
echo "set disassembly-flavor intel" > ~/.gdbinit
 Examining x86_64 Memory with GDB