disasm: split dump_insns
[deliverable/binutils-gdb.git] / gdb / jit.c
index ddc223dcb37730c239d1b76dc42f5d6f6aff6d78..7c6aede494e9a847291637648b63edc8da23afc1 100644 (file)
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -491,7 +491,8 @@ typedef CORE_ADDR jit_dbg_reader_data;
 static enum gdb_status
 jit_target_read_impl (GDB_CORE_ADDR target_mem, void *gdb_buf, int len)
 {
-  int result = target_read_memory ((CORE_ADDR) target_mem, gdb_buf, len);
+  int result = target_read_memory ((CORE_ADDR) target_mem,
+                                  (gdb_byte *) gdb_buf, len);
   if (result == 0)
     return GDB_SUCCESS;
   else
This page took 0.03125 seconds and 4 git commands to generate.