diff options
author | Mark Kettenis <kettenis@gnu.org> | 2006-01-10 22:38:51 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2006-01-10 22:38:51 +0000 |
commit | f6519ebcfefb646f0391ac7cc51f140aa9d73595 (patch) | |
tree | 03137eeb575ad40951b086839fbb9bd4f8df97e9 /gdb/target.h | |
parent | 62d732f54031c330e112363204668ee69a0f4556 (diff) | |
download | gdb-f6519ebcfefb646f0391ac7cc51f140aa9d73595.zip gdb-f6519ebcfefb646f0391ac7cc51f140aa9d73595.tar.gz gdb-f6519ebcfefb646f0391ac7cc51f140aa9d73595.tar.bz2 |
* 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.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gdb/target.h b/gdb/target.h index 90747ff..9bb31f9 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); |