aboutsummaryrefslogtreecommitdiff
path: root/gdb/x86-64-tdep.c
diff options
context:
space:
mode:
authorMichal Ludvig <mludvig@suse.cz>2003-06-06 10:04:20 +0000
committerMichal Ludvig <mludvig@suse.cz>2003-06-06 10:04:20 +0000
commit088ce4403fab1dae0153cda4fce9fe871a9b7b90 (patch)
treea7b306d4994489b0deea61ff3218b4c9d6f7f0c7 /gdb/x86-64-tdep.c
parentc16d554dbf2bcfa4494c518289d25ebc4c0e0b00 (diff)
downloadgdb-088ce4403fab1dae0153cda4fce9fe871a9b7b90.zip
gdb-088ce4403fab1dae0153cda4fce9fe871a9b7b90.tar.gz
gdb-088ce4403fab1dae0153cda4fce9fe871a9b7b90.tar.bz2
2003-06-06 Michal Ludvig <mludvig@suse.cz>
* x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums to regcache_collect().
Diffstat (limited to 'gdb/x86-64-tdep.c')
-rw-r--r--gdb/x86-64-tdep.c4
1 files changed, 2 insertions, 2 deletions
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);
}