Use gdb_byte for bytes from the program being debugged.
[deliverable/binutils-gdb.git] / gdb / sh64-tdep.c
index d4253fba8bf7bef396f2fa1d5681776bbd12a9eb..cb035274d435d74e0012d2d3ad007369f22759b3 100644 (file)
@@ -1261,7 +1261,7 @@ sh64_extract_return_value (struct type *type, struct regcache *regcache,
       if (len <= 8)
        {
          int offset;
-         char buf[8];
+         gdb_byte buf[8];
          /* Result is in register 2.  If smaller than 8 bytes, it is padded 
             at the most significant end.  */
          regcache_raw_read (regcache, DEFAULT_RETURN_REGNUM, buf);
@@ -1290,7 +1290,7 @@ sh64_store_return_value (struct type *type, struct regcache *regcache,
                         const void *valbuf)
 {
   struct gdbarch *gdbarch = get_regcache_arch (regcache);
-  char buf[64];        /* more than enough...  */
+  gdb_byte buf[64];    /* more than enough...  */
   int len = TYPE_LENGTH (type);
 
   if (TYPE_CODE (type) == TYPE_CODE_FLT)
This page took 0.02398 seconds and 4 git commands to generate.