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.
            Asked
            
        
        
            Active
            
        
            Viewed 2.2k times
        
    1 Answers
112
            gdb executes a ~/.gdbinit file when it starts, if present; you should be able to add the line
set disassembly-flavor intel
to it.
        DSM
        
- 342,061
 - 65
 - 592
 - 494
 
- 
                    16I did not have a ~/.gdbinit file, but I created one and added set disassembly-flavor intel to it. Worked Thanks! – HighLife Dec 20 '11 at 00:41