diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/x86-64-tdep.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0601807..30c3a86 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-06-06 Michal Ludvig <mludvig@suse.cz> + + * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums + to regcache_collect(). + 2003-06-05 J. Brobecker <brobecker@gnat.com> * 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 88575d5..0b2f691 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); } |