2003-06-06 Michal Ludvig <mludvig@suse.cz>
authorMichal Ludvig <mludvig@suse.cz>
Fri, 6 Jun 2003 10:04:20 +0000 (10:04 +0000)
committerMichal Ludvig <mludvig@suse.cz>
Fri, 6 Jun 2003 10:04:20 +0000 (10:04 +0000)
* x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums
to regcache_collect().

gdb/ChangeLog
gdb/x86-64-tdep.c

index 06018075c1d7aca0da5f48cb4cb6ccfcc4c28fad..30c3a8683f1933f9f8f4033714fcb1b787d30ea7 100644 (file)
@@ -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
index 88575d5672510093086e696b4a4a700ebf868f3f..0b2f6913dd6d5591d8d885f1127c976dec464aa2 100644 (file)
@@ -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);
 }
This page took 0.032301 seconds and 4 git commands to generate.