This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

i386 register groups?


Hello,

Does anyone have a suggestion for which i386 registers go where? My mindless first attempt looks like:

(gdb) maint print registers
Name Nr Rel Offset Size Type Groups
eax 0 0 0 4 int general,all
ecx 1 1 4 4 int general,all
edx 2 2 8 4 int general,all
ebx 3 3 12 4 int general,all
esp 4 4 16 4 *1 general,all
ebp 5 5 20 4 *1 general,all
esi 6 6 24 4 int general,all
edi 7 7 28 4 int general,all
eip 8 8 32 4 *1 general,all
eflags 9 9 36 4 int general,all
cs 10 10 40 4 int general,all
ss 11 11 44 4 int general,all
ds 12 12 48 4 int general,all
es 13 13 52 4 int general,all
fs 14 14 56 4 int general,all
gs 15 15 60 4 int general,all
st0 16 16 64 10 _i387_ext float,all
st1 17 17 74 10 _i387_ext float,all
st2 18 18 84 10 _i387_ext float,all
st3 19 19 94 10 _i387_ext float,all
st4 20 20 104 10 _i387_ext float,all
st5 21 21 114 10 _i387_ext float,all
st6 22 22 124 10 _i387_ext float,all
st7 23 23 134 10 _i387_ext float,all
fctrl 24 24 144 4 int float,all
fstat 25 25 148 4 int float,all
ftag 26 26 152 4 int float,all
fiseg 27 27 156 4 int float,all
fioff 28 28 160 4 int float,all
foseg 29 29 164 4 int float,all
fooff 30 30 168 4 int float,all
fop 31 31 172 4 int float,all
xmm0 32 32 176 16 _vec128i sse,all,vector
xmm1 33 33 192 16 _vec128i sse,all,vector
xmm2 34 34 208 16 _vec128i sse,all,vector
xmm3 35 35 224 16 _vec128i sse,all,vector
xmm4 36 36 240 16 _vec128i sse,all,vector
xmm5 37 37 256 16 _vec128i sse,all,vector
xmm6 38 38 272 16 _vec128i sse,all,vector
xmm7 39 39 288 16 _vec128i sse,all,vector
mxcsr 40 40 304 4 int general,all
orig_eax 41 41 308 4 int general,all
mm0 42 0 312 8 _vec64i mmx,all,vector
mm1 43 1 320 8 _vec64i mmx,all,vector
mm2 44 2 328 8 _vec64i mmx,all,vector
mm3 45 3 336 8 _vec64i mmx,all,vector
mm4 46 4 344 8 _vec64i mmx,all,vector
mm5 47 5 352 8 _vec64i mmx,all,vector
mm6 48 6 360 8 _vec64i mmx,all,vector
mm7 49 7 368 8 _vec64i mmx,all,vector
*1: Register type's name NULL.

enjoy,
Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]