Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 259
HighLife Avatar asked Dec 20 '11 00:12

HighLife


1 Answers

gdb executes a ~/.gdbinit file when it starts, if present; you should be able to add the line

set disassembly-flavor intel

to it.

like image 146
DSM Avatar answered Nov 16 '22 20:11

DSM