Permanently Change Disassembly Flavor in GDB

后端 未结 1 1025
时光说笑
时光说笑 2020-12-23 11:18

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 flav

1条回答
  •  旧巷少年郎
    2020-12-23 12:05

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

    set disassembly-flavor intel
    

    to it.

    0 讨论(0)
提交回复
热议问题