diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-05-16 04:45:43 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-05-16 04:45:43 +0000 |
commit | 1b0ba102266620a8d82e08315e921ab4d7f9972d (patch) | |
tree | 3f8436044f34e63f33b54abf5634da7082675974 /gdb/disasm.c | |
parent | 44cd25cf2da5e83fed367a7f49614e3024dee38b (diff) | |
download | gdb-1b0ba102266620a8d82e08315e921ab4d7f9972d.zip gdb-1b0ba102266620a8d82e08315e921ab4d7f9972d.tar.gz gdb-1b0ba102266620a8d82e08315e921ab4d7f9972d.tar.bz2 |
2005-05-16 Andrew Cagney <cagney@gnu.org>
* 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.
Diffstat (limited to 'gdb/disasm.c')
-rw-r--r-- | gdb/disasm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c index cf54f8a..4126f72 100644 --- a/gdb/disasm.c +++ b/gdb/disasm.c @@ -46,10 +46,10 @@ struct dis_line_entry /* Like target_read_memory, but slightly different parameters. */ static int -dis_asm_read_memory (bfd_vma memaddr, bfd_byte *myaddr, unsigned int len, +dis_asm_read_memory (bfd_vma memaddr, gdb_byte *myaddr, unsigned int len, struct disassemble_info *info) { - return target_read_memory (memaddr, (char *) myaddr, len); + return target_read_memory (memaddr, myaddr, len); } /* Like memory_error with slightly different parameters. */ |