* inf-ttrace.c (inf_ttrace_xfer_partial): Change type of readbuf

and writebuf arguments to `gdb_byte *'.
This commit is contained in:
Mark Kettenis 2005-06-21 11:58:39 +00:00
parent 72429025ee
commit 7a4609f7bb
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2005-06-21 Mark Kettenis <kettenis@gnu.org>
* inf-ttrace.c (inf_ttrace_xfer_partial): Change type of readbuf
and writebuf arguments to `gdb_byte *'.
2005-06-21 Wu Zhou <woodzltc@cn.ibm.com>
* MAINTAINERS (Write After Approval): Add myself.

View file

@ -1,6 +1,6 @@
/* Low-level child interface to ttrace.
Copyright 2004 Free Software Foundation, Inc.
Copyright 2004, 2005 Free Software Foundation, Inc.
This file is part of GDB.
@ -863,8 +863,8 @@ inf_ttrace_xfer_memory (CORE_ADDR addr, ULONGEST len,
static LONGEST
inf_ttrace_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)
{