diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-05-06 14:28:27 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-05-06 14:28:27 +0000 |
commit | 26144df5d2c0b2fa0244f3fb95f8ed2686ac0815 (patch) | |
tree | ca20e278580aeffa2cd791649cbe3a105f40220c /gdb/go32-nat.c | |
parent | c6b4e5a265aa3da4ed24e2198358b03f37dce595 (diff) | |
download | gdb-26144df5d2c0b2fa0244f3fb95f8ed2686ac0815.zip gdb-26144df5d2c0b2fa0244f3fb95f8ed2686ac0815.tar.gz gdb-26144df5d2c0b2fa0244f3fb95f8ed2686ac0815.tar.bz2 |
* i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove.
* i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes.
* i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace
i387_fill_fsave and i387_fill_fxsave calls by inline copies.
* i386-nto-tdep.c (i386nto_regset_fill): Likewise.
* i386gnu-nat.c (store_fpregs): Likewise.
* i386v4-nat.c (fill_fpregset): Likewise.
* go32-nat.c (store_register, go32_store_registers): Likewise.
Diffstat (limited to 'gdb/go32-nat.c')
-rw-r--r-- | gdb/go32-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c index c64874f..919b42a 100644 --- a/gdb/go32-nat.c +++ b/gdb/go32-nat.c @@ -497,7 +497,7 @@ store_register (int regno) regcache_raw_collect (current_regcache, regno, (char *) &a_tss + regno_mapping[regno].tss_ofs); else if (i386_fp_regnum_p (regno) || i386_fpc_regnum_p (regno)) - i387_fill_fsave ((char *) &npx, regno); + i387_collect_fsave (current_regcache, regno, &npx); else internal_error (__FILE__, __LINE__, _("Invalid register no. %d in store_register."), regno); @@ -514,7 +514,7 @@ go32_store_registers (int regno) { for (r = 0; r < FP0_REGNUM; r++) store_register (r); - i387_fill_fsave ((char *) &npx, -1); + i387_collect_fsave (current_regcache, -1, &npx); } } |