From 1b0ba102266620a8d82e08315e921ab4d7f9972d Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 16 May 2005 04:45:43 +0000 Subject: 2005-05-16 Andrew Cagney * target.h (target_read_partial, target_write_partial) (do_xfer_memory, xfer_memory, target_read, target_write) (get_target_memory): For buffers, change "void*" to gdb_byte. (struct target_ops): Ditto for to_xfer_partial and deprecated_xfer_memory. * dcache.h (dcache_xfer_memory): Ditto. * target.c (default_xfer_partial, target_read_partial) (target_write_partial, target_read, target_write) (do_xfer_memory, update_current_target, get_target_memory): Update. (target_read_string): Change buf to a gdb_byte. * dcache.c (dcache_xfer_memory): Update. * exec.c (xfer_memory): Make buffer type to gdb_byte. * mem-break.c (default_memory_insert_breakpoint): Remove cast. * disasm.c (dis_asm_read_memory): Remove cast, use gdb_byte. --- gdb/dcache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/dcache.c') diff --git a/gdb/dcache.c b/gdb/dcache.c index bff7e9fccab..72e98660be2 100644 --- a/gdb/dcache.c +++ b/gdb/dcache.c @@ -532,8 +532,8 @@ dcache_free (DCACHE *dcache) This routine is indended to be called by remote_xfer_ functions. */ int -dcache_xfer_memory (DCACHE *dcache, CORE_ADDR memaddr, char *myaddr, int len, - int should_write) +dcache_xfer_memory (DCACHE *dcache, CORE_ADDR memaddr, gdb_byte *myaddr, + int len, int should_write) { int i; int (*xfunc) (DCACHE *dcache, CORE_ADDR addr, char *ptr); -- cgit v1.2.1