* config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
[deliverable/binutils-gdb.git] / gdb / i387-tdep.c
index cc403fcc54c1f88e9c96229747afe62ae37637a9..66b6dc0370c8388ed0edb04c38eb57bfde1e830e 100644 (file)
@@ -168,10 +168,10 @@ print_i387_value (char *raw)
   gdb_assert (TARGET_LONG_DOUBLE_FORMAT == &floatformat_i387_ext);
 
   /* Take care of the padding.  FP reg is 80 bits.  The same value in
-     memory is 96 bits. */
+     memory is 96 bits.  */
   gdb_assert (FPU_REG_RAW_SIZE < len);
-  memcpy (&tmp, raw, FPU_REG_RAW_SIZE);
-  memset (&tmp + FPU_REG_RAW_SIZE, 0, len - FPU_REG_RAW_SIZE);
+  memcpy (tmp, raw, FPU_REG_RAW_SIZE);
+  memset (tmp + FPU_REG_RAW_SIZE, 0, len - FPU_REG_RAW_SIZE);
   
   /* Extract the value as a DOUBLEST.  */
   /* Use extract_floating() rather than floatformat_to_doublest().
This page took 0.024024 seconds and 4 git commands to generate.