Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@ges.redhat.com>
To: gdb@sources.redhat.com
Subject: i386 register groups?
Date: Mon, 26 Aug 2002 11:39:00 -0000	[thread overview]
Message-ID: <3D6A75EC.2090807@ges.redhat.com> (raw)

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


             reply	other threads:[~2002-08-26 18:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-26 11:39 Andrew Cagney [this message]
2002-08-26 11:46 ` Daniel Jacobowitz
2002-08-26 12:30   ` Andrew Cagney
2002-08-26 13:47     ` Mark Kettenis
2002-08-26 13:51       ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D6A75EC.2090807@ges.redhat.com \
    --to=ac131313@ges.redhat.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox