2004-08-08 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / valops.c
index 57e5d842dc2d0276b0a22c82d83ff1fe136277fb..ac50d23b070a7b1ce573bb33ed0b43eba55292e8 100644 (file)
@@ -657,7 +657,7 @@ value_assign (struct value *toval, struct value *fromval)
            {
              int offset;
              for (reg_offset = value_reg, offset = 0;
-                  offset + DEPRECATED_REGISTER_RAW_SIZE (reg_offset) <= VALUE_OFFSET (toval);
+                  offset + register_size (current_gdbarch, reg_offset) <= VALUE_OFFSET (toval);
                   reg_offset++);
              byte_offset = VALUE_OFFSET (toval) - offset;
            }
@@ -675,7 +675,7 @@ value_assign (struct value *toval, struct value *fromval)
            /* Copy it in.  */
            for (regno = reg_offset, amount_copied = 0;
                 amount_copied < amount_to_copy;
-                amount_copied += DEPRECATED_REGISTER_RAW_SIZE (regno), regno++)
+                amount_copied += register_size (current_gdbarch, regno), regno++)
              frame_register_read (frame, regno, buffer + amount_copied);
            
            /* Modify what needs to be modified.  */
@@ -692,7 +692,7 @@ value_assign (struct value *toval, struct value *fromval)
            /* Copy it out.  */
            for (regno = reg_offset, amount_copied = 0;
                 amount_copied < amount_to_copy;
-                amount_copied += DEPRECATED_REGISTER_RAW_SIZE (regno), regno++)
+                amount_copied += register_size (current_gdbarch, regno), regno++)
              put_frame_register (frame, regno, buffer + amount_copied);
 
          }
This page took 0.023609 seconds and 4 git commands to generate.