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 | f9da33272821f72925b50ae41a3cc7f2fbc13359 (patch) | |
tree | d70afffdf5f94d660b4a1d47c7b5c4ef24a95022 /gdb/target.h | |
parent | 361371b820374fa70d466900959f0eda57800392 (diff) | |
download | gdb-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.h | 11 |
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); |