*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / amd64-tdep.h
index aff0c6a03895ffe174e92c2bf05f1cac1cdee616..e5ce22a33981a73ff04ce7f87042969a51cc38c1 100644 (file)
@@ -45,9 +45,18 @@ enum amd64_regnum
   AMD64_R15_REGNUM = 15,       /* %r15 */
   AMD64_RIP_REGNUM,            /* %rip */
   AMD64_EFLAGS_REGNUM,         /* %eflags */
+  AMD64_CS_REGNUM,             /* %cs */
+  AMD64_SS_REGNUM,             /* %ss */
+  AMD64_DS_REGNUM,             /* %ds */
+  AMD64_ES_REGNUM,             /* %es */
+  AMD64_FS_REGNUM,             /* %fs */
+  AMD64_GS_REGNUM,             /* %gs */
   AMD64_ST0_REGNUM = 24,       /* %st0 */
+  AMD64_FCTRL_REGNUM = AMD64_ST0_REGNUM + 8,
+  AMD64_FSTAT_REGNUM = AMD64_ST0_REGNUM + 9,
   AMD64_XMM0_REGNUM = 40,      /* %xmm0 */
-  AMD64_XMM1_REGNUM            /* %xmm1 */
+  AMD64_XMM1_REGNUM,           /* %xmm1 */
+  AMD64_MXCSR_REGNUM = AMD64_XMM0_REGNUM + 16
 };
 
 /* Number of general purpose registers.  */
@@ -64,11 +73,12 @@ extern void amd64_supply_fxsave (struct regcache *regcache, int regnum,
                                 const void *fxsave);
 
 /* Fill register REGNUM (if it is a floating-point or SSE register) in
-   *FXSAVE with the value in GDB's register cache.  If REGNUM is -1, do
-   this for all registers.  This function doesn't touch any of the
-   reserved bits in *FXSAVE.  */
+   *FXSAVE with the value from REGCACHE.  If REGNUM is -1, do this for
+   all registers.  This function doesn't touch any of the reserved
+   bits in *FXSAVE.  */
 
-extern void amd64_fill_fxsave (char *fxsave, int regnum);
+extern void amd64_collect_fxsave (const struct regcache *regcache, int regnum,
+                                 void *fxsave);
 \f
 
 /* Variables exported from amd64nbsd-tdep.c.  */
This page took 0.024691 seconds and 4 git commands to generate.