我目前正在使用 GDB 和 NASM 进行汇编编程。
不幸的是,我无法在 GDB 中看到 EFlags 寄存器助记符(ZF、AF、PF 等)。
我正在显示一个十进制值:eflags 0x246 582
我确信我可以将十进制转换为二进制并自己计算标志,但这对于其他人似乎都有的功能来说似乎需要做很多工作?
操作系统:Mountain Lion 10.8.2
GDB 版本:
GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Thu Nov 15 10:42:43 UTC 2012)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".