查看反汇编代码
反汇编程序将机器语言翻译成汇编语言,以便于人类阅读。
Disassembler 视图显示当前函数的反汇编代码。它对于检查单条指令的低级命令非常有用,例如Step Into 和Step Over 。
默认情况下,GDB 显示 AT&T 风格的反汇编。要切换到英特尔风格,请访问首选项>Debugger >GDB >Use Intel style disassembly 。
打开Disassembler 视图:
- 调试器运行时,转到Debug >Operate by Instruction 。
- 选择调试器工具栏上的
(Operate by Instruction)。
- 在寄存器视图中,选择一个值,然后在上下文菜单中选择Open Disassembler at <value> 。
启动反汇编器
要从Registers 视图启动反汇编器,请选择Open Disassembler 并设置反汇编器地址:
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.