From: Michal Ludvig Date: Fri, 6 Jun 2003 10:04:20 +0000 (+0000) Subject: 2003-06-06 Michal Ludvig X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=088ce4403fab1dae0153cda4fce9fe871a9b7b90;p=binutils-gdb.git 2003-06-06 Michal Ludvig * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums to regcache_collect(). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 06018075c1d..30c3a8683f1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-06-06 Michal Ludvig + + * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums + to regcache_collect(). + 2003-06-05 J. Brobecker * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c index 88575d56725..0b2f6913dd6 100644 --- a/gdb/x86-64-tdep.c +++ b/gdb/x86-64-tdep.c @@ -1246,7 +1246,7 @@ x86_64_fill_fxsave (char *fxsave, int regnum) 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); }