Use gdb_byte for bytes from the program being debugged.
[deliverable/binutils-gdb.git] / gdb / remote-mips.c
index e20a740663d2ae1081629782d86ded91b84b0d33..f832d84badea656f182f5e595afc2849d59591e0 100644 (file)
@@ -1794,7 +1794,7 @@ mips_signal_from_protocol (int sig)
 static void
 mips_set_register (int regno, ULONGEST value)
 {
-  char buf[MAX_REGISTER_SIZE];
+  gdb_byte buf[MAX_REGISTER_SIZE];
   struct regcache *regcache = get_current_regcache ();
   struct gdbarch *gdbarch = get_regcache_arch (regcache);
   enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
This page took 0.023315 seconds and 4 git commands to generate.