永久改变拆卸风味GDB [英] Permanently Change Disassembly Flavor in GDB

查看:169
本文介绍了永久改变拆卸风味GDB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能永久地改变拆卸味道GDB。我想:设置拆卸味英特尔广发行,但是当我火了GDB后,它仍具有ATT味道

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启动时,如果present执行〜/ .gdbinit文件;你应该能够添加行

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

set disassembly-flavor intel

它。

这篇关于永久改变拆卸风味GDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆