aboutsummaryrefslogtreecommitdiff
path: root/gdb/inftarg.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-05-23 19:32:28 +0000
committerAndrew Cagney <cagney@redhat.com>2005-05-23 19:32:28 +0000
commit6c932e5455d4f45b18417f57c146bbff75fe34bf (patch)
tree3f86e79ca06925ba40c3d252bdbdd5b7f020809a /gdb/inftarg.c
parent36aa5e41a20700ef558dc5d8362653ea1c8a4ec9 (diff)
downloadgdb-6c932e5455d4f45b18417f57c146bbff75fe34bf.zip
gdb-6c932e5455d4f45b18417f57c146bbff75fe34bf.tar.gz
gdb-6c932e5455d4f45b18417f57c146bbff75fe34bf.tar.bz2
2005-05-23 Andrew Cagney <cagney@gnu.org>
* target.h (child_xfer_memory): Use gdb_byte for byte buffer parameters. * inftarg.c (child_xfer_partial): Update. * wince.c (child_xfer_memory): Update. * win32-nat.c (child_xfer_memory): Update. * rs6000-nat.c (child_xfer_memory): Update. * infptrace.c (child_xfer_memory): Update. * dcache.c (struct dcache_block): Use gdb_byte for the byte buffers. (dcache_read_line, dcache_xfer_memory, dcache_poke_byte) (dcache_peek_byte, dcache_write_line): Ditto.
Diffstat (limited to 'gdb/inftarg.c')
-rw-r--r--gdb/inftarg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/inftarg.c b/gdb/inftarg.c
index cd8674d..279f3a7 100644
--- a/gdb/inftarg.c
+++ b/gdb/inftarg.c
@@ -531,8 +531,8 @@ child_core_file_to_sym_file (char *core)
static LONGEST
child_xfer_partial (struct target_ops *ops, enum target_object object,
- const char *annex, void *readbuf,
- const void *writebuf, ULONGEST offset, LONGEST len)
+ const char *annex, gdb_byte *readbuf,
+ const gdb_byte *writebuf, ULONGEST offset, LONGEST len)
{
switch (object)
{