* m32c-desc.c: Regenerated.
[deliverable/binutils-gdb.git] / gdb / valops.c
index 37e9f01a243a8dc04fa4fea3483df228edaf0e3e..54c81ac2f0acf98406934874fd9b8805a991da7c 100644 (file)
@@ -569,7 +569,7 @@ value_assign (struct value *toval, struct value *fromval)
        const gdb_byte *dest_buffer;
        CORE_ADDR changed_addr;
        int changed_len;
-        char buffer[sizeof (LONGEST)];
+        gdb_byte buffer[sizeof (LONGEST)];
 
        if (value_bitsize (toval))
          {
@@ -631,7 +631,7 @@ value_assign (struct value *toval, struct value *fromval)
               modify it, and copy it back in.  */
            int amount_copied;
            int amount_to_copy;
-           char *buffer;
+           gdb_byte *buffer;
            int reg_offset;
            int byte_offset;
            int regno;
@@ -655,7 +655,7 @@ value_assign (struct value *toval, struct value *fromval)
              amount_to_copy = byte_offset + TYPE_LENGTH (type);
            
            /* And a bounce buffer.  Be slightly over generous.  */
-           buffer = (char *) alloca (amount_to_copy + MAX_REGISTER_SIZE);
+           buffer = alloca (amount_to_copy + MAX_REGISTER_SIZE);
 
            /* Copy it in.  */
            for (regno = reg_offset, amount_copied = 0;
@@ -1039,7 +1039,7 @@ value_string (char *ptr, int len)
      copy LEN bytes from PTR in gdb to that address in the inferior. */
 
   addr = allocate_space_in_inferior (len);
-  write_memory (addr, ptr, len);
+  write_memory (addr, (gdb_byte *) ptr, len);
 
   val = value_at_lazy (stringtype, addr);
   return (val);
@@ -2269,7 +2269,7 @@ check_field_in (struct type *type, const char *name)
    target structure/union is defined, otherwise, return 0.  */
 
 int
-check_field (struct value *arg1, const gdb_byte *name)
+check_field (struct value *arg1, const char *name)
 {
   struct type *t;
 
This page took 0.024476 seconds and 4 git commands to generate.