summaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2006-01-10 22:38:51 +0000
committerMark Kettenis <kettenis@gnu.org>2006-01-10 22:38:51 +0000
commitf9da33272821f72925b50ae41a3cc7f2fbc13359 (patch)
treed70afffdf5f94d660b4a1d47c7b5c4ef24a95022 /gdb/target.h
parent361371b820374fa70d466900959f0eda57800392 (diff)
downloadgdb-f9da33272821f72925b50ae41a3cc7f2fbc13359.tar.gz
* target.h (target_read_memory_partial, target_write_memory_partial):
Change second argument to 'gdb_byte *'. * target.c (target_xfer_memory_partial): Change third argument to 'gdb_byte *'. (target_read_memory_partial, target_write_memory_partial): Change second argument to 'gdb_byte *'.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 90747ffac7f..9bb31f984ab 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -1,7 +1,8 @@
/* Interface between GDB and target environments, including files and processes
Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+ 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+ Free Software Foundation, Inc.
Contributed by Cygnus Support. Written by John Gilmore.
@@ -554,11 +555,11 @@ extern int child_xfer_memory (CORE_ADDR, gdb_byte *, int, int,
of bytes actually transfered is not defined) and ERR is set to a
non-zero error indication. */
-extern int target_read_memory_partial (CORE_ADDR addr, char *buf, int len,
- int *err);
+extern int target_read_memory_partial (CORE_ADDR addr, gdb_byte *buf,
+ int len, int *err);
-extern int target_write_memory_partial (CORE_ADDR addr, char *buf, int len,
- int *err);
+extern int target_write_memory_partial (CORE_ADDR addr, gdb_byte *buf,
+ int len, int *err);
extern char *child_pid_to_exec_file (int);