Permanently Change Disassembly Flavor in GDB
How can I permanently change the disassembly flavor in GDB. I tried:set disassembly-flavor intel
in GDB, but when I fire up GDB later it still has the att flavor.
gdb executes a ~/.gdbinit file when it starts, if present; you should be able to add the line
set disassembly-flavor intel
to it.