aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{