* Makefile.am: Use a temporary file to build chew.
[deliverable/binutils-gdb.git] / gdb / amd64-tdep.h
index aff0c6a03895ffe174e92c2bf05f1cac1cdee616..e01be02b1ac8a47beab3f4a0d86b468315adcfa5 100644 (file)
@@ -45,6 +45,12 @@ 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_XMM0_REGNUM = 40,      /* %xmm0 */
   AMD64_XMM1_REGNUM            /* %xmm1 */
@@ -64,11 +70,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.023912 seconds and 4 git commands to generate.