2012-03-08 Stan Shebs <stan@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / gdbserver / i387-fp.c
index 3dfe06be3b5baa61129d24a2dfd88cc7c256634b..d2543b21327ee8d0ef0c5dfbea42e5e3196dae96 100644 (file)
@@ -1,6 +1,5 @@
 /* i387-specific utility functions, for the remote server for GDB.
-   Copyright (C) 2000, 2001, 2002, 2005, 2007, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 2000-2013 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -482,7 +481,7 @@ i387_xsave_to_cache (struct regcache *regcache, const void *buf)
       if ((clear_bv & I386_XSTATE_X87) != 0)
        {
          for (i = 0; i < 8; i++)
-           supply_register (regcache, i + st0_regnum, NULL);
+           supply_register_zeroed (regcache, i + st0_regnum);
        }
       else
        {
@@ -499,7 +498,7 @@ i387_xsave_to_cache (struct regcache *regcache, const void *buf)
       if ((clear_bv & I386_XSTATE_SSE))
        {
          for (i = 0; i < num_xmm_registers; i++)
-           supply_register (regcache, i + xmm0_regnum, NULL);
+           supply_register_zeroed (regcache, i + xmm0_regnum);
        }
       else
        {
@@ -516,7 +515,7 @@ i387_xsave_to_cache (struct regcache *regcache, const void *buf)
       if ((clear_bv & I386_XSTATE_AVX) != 0)
        {
          for (i = 0; i < num_xmm_registers; i++)
-           supply_register (regcache, i + ymm0h_regnum, NULL);
+           supply_register_zeroed (regcache, i + ymm0h_regnum);
        }
       else
        {
This page took 0.025597 seconds and 4 git commands to generate.