linux - 永久更改 GDB 中的反汇编风格

如何永久更改 GDB 中的反汇编风格。我试过:set disassembly-flavor intel 在 GDB 中,但是当我稍后启动 GDB 时,它仍然有 att 的味道。

最佳答案

gdb 在启动时执行 ~/.gdbinit 文件(如果存在);您应该可以添加该行

set disassembly-flavor intel

给它。

https://stackoverflow.com/questions/8569285/

相关文章:

linux - 如何删除 Mercurial 存储库

node.js - Ansible 将以什么用户身份运行我的命令?

linux - 自动化 Amazon EBS 快照 任何人在 linux 上都有一个好的脚本或解决方

regex - shell脚本中 "=~"运算符的含义

linux - 如果我们想在版本化的源代码中搜索,使用 git grep 比使用普通 grep 更好

c++ - Linux C++ : how to profile time wasted due t

linux - 使用非 root 用户帐户安装 Git

c - 如何在基于 Linux 的系统上的 c 程序中使用 mqueue?

php - 如何为 php 启用 mysqlnd?

python - 编译 python 时 --enable-optimizations 做了什么?