2003-06-06 Michal Ludvig * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums to regcache_collect(). Index: x86-64-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/x86-64-tdep.c,v retrieving revision 1.76 diff -u -p -r1.76 x86-64-tdep.c --- x86-64-tdep.c 5 Jun 2003 18:54:34 -0000 1.76 +++ x86-64-tdep.c 6 Jun 2003 10:02:42 -0000 @@ -1246,7 +1246,7 @@ x86_64_fill_fxsave (char *fxsave, int re i387_fill_fxsave (fxsave, regnum); if (regnum == -1 || regnum == I387_FISEG_REGNUM) - regcache_collect (regnum, fxsave + 12); + regcache_collect (I387_FISEG_REGNUM, fxsave + 12); if (regnum == -1 || regnum == I387_FOSEG_REGNUM) - regcache_collect (regnum, fxsave + 20); + regcache_collect (I387_FOSEG_REGNUM, fxsave + 20); }