This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Eflags register not showing symbolic names
- From: Carmen <wick0211 at umn dot edu>
- To: gdb at sources dot redhat dot com
- Date: Sun, 16 Jun 2002 17:41:50 +0000
- Subject: Eflags register not showing symbolic names
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
details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols
found)...
(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
<etc...>
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?
THanks