Use gdb_byte for bytes from the program being debugged.
[deliverable/binutils-gdb.git] / gdb / regcache.c
index d413fe889bafa59ba94a7c57e86b5a444d1fab32..ca00f90d184a154ae87dea70ea37e04b2178bb25 100644 (file)
@@ -1092,7 +1092,7 @@ reg_flush_command (char *command, int from_tty)
 
 static void
 dump_endian_bytes (struct ui_file *file, enum bfd_endian endian,
-                  const unsigned char *buf, long len)
+                  const gdb_byte *buf, long len)
 {
   int i;
 
@@ -1130,7 +1130,7 @@ regcache_dump (struct regcache *regcache, struct ui_file *file,
   int footnote_register_offset = 0;
   int footnote_register_type_name_null = 0;
   long register_offset = 0;
-  unsigned char buf[MAX_REGISTER_SIZE];
+  gdb_byte buf[MAX_REGISTER_SIZE];
 
 #if 0
   fprintf_unfiltered (file, "nr_raw_registers %d\n",
This page took 0.024484 seconds and 4 git commands to generate.