Eflags register not showing symbolic names

Carmen wick0211@umn.edu
Sun Jun 16 15:36:00 GMT 2002

When I type 'info registers' i get something like this:
GNU gdb 5.2
Copyright 2002 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 
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols 
(gdb) run
Starting program: /usr/bin/m4
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGINT, Interrupt.
0x400decb4 in read () from /lib/libc.so.6
(gdb) info registers
eax            0xfffffe00       -512
ecx            0x40016000       1073831936
edx            0x1000   4096
ebx            0x0      0
esp            0xbffffa38       0xbffffa38
ebp            0xbffffa58       0xbffffa58
esi            0x40138ac0       1075022528
edi            0x40138e24       1075023396
eip            0x400decb4       0x400decb4
eflags         0x246    582
cs             0x23     35

yet i see all over the place printouts from gdb that look like this 
for eflags:
eflags:       0x246 IOPL: 0; flags: PF ZF IF

Not only does it show the names of the flags currently on (PF, ZF..) 
but it shows the current IO permissions level.  How do i get my 
version of gdb to output eflags in some useful form, other than the 
raw hex value of it?


More information about the Gdb mailing list