diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/solib-spu.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9c8ae4c..6fefc63 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2015-10-22 Simon Marchi <simon.marchi@polymtl.ca> + * solib-spu.c (spu_bfd_iovec_pread): Add (gdb_byte *) cast. + +2015-10-22 Simon Marchi <simon.marchi@polymtl.ca> + * rs6000-tdep.c (variants): Add (enum bfd_architecture) cast. 2015-10-22 Simon Marchi <simon.marchi@polymtl.ca> diff --git a/gdb/solib-spu.c b/gdb/solib-spu.c index 468ab1a..dca13e0 100644 --- a/gdb/solib-spu.c +++ b/gdb/solib-spu.c @@ -296,7 +296,7 @@ spu_bfd_iovec_pread (bfd *abfd, void *stream, void *buf, CORE_ADDR addr = *(CORE_ADDR *)stream; int ret; - ret = target_read_memory (addr + offset, buf, nbytes); + ret = target_read_memory (addr + offset, (gdb_byte *) buf, nbytes); if (ret != 0) { bfd_set_error (bfd_error_invalid_operation); |