aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-06-21 11:58:39 +0000
committerMark Kettenis <kettenis@gnu.org>2005-06-21 11:58:39 +0000
commit7a4609f7bbd6d780b1e8de09bfa90e85db26b107 (patch)
treea3f286d85c96d9b5d3a309713cf393fdea90c35c
parent72429025eebecb7cfeec4b04172babf532eda7bb (diff)
downloadgdb-7a4609f7bbd6d780b1e8de09bfa90e85db26b107.zip
gdb-7a4609f7bbd6d780b1e8de09bfa90e85db26b107.tar.gz
gdb-7a4609f7bbd6d780b1e8de09bfa90e85db26b107.tar.bz2
* inf-ttrace.c (inf_ttrace_xfer_partial): Change type of readbuf
and writebuf arguments to `gdb_byte *'.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/inf-ttrace.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e947c22..a203529 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/inf-ttrace.c b/gdb/inf-ttrace.c
index 7e3e79a..6b20be6 100644
--- a/gdb/inf-ttrace.c
+++ b/gdb/inf-ttrace.c
@@ -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)
{