aboutsummaryrefslogtreecommitdiff
path: root/gdb/auxv.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-05-23 18:20:03 +0000
committerAndrew Cagney <cagney@redhat.com>2005-05-23 18:20:03 +0000
commit36aa5e41a20700ef558dc5d8362653ea1c8a4ec9 (patch)
tree076fe36fe9dcda8d6bb5aa3ef5e39d27036d3fcf /gdb/auxv.h
parent0c552dc1882e1b7cfe81f27117631f04a92381bb (diff)
downloadgdb-36aa5e41a20700ef558dc5d8362653ea1c8a4ec9.zip
gdb-36aa5e41a20700ef558dc5d8362653ea1c8a4ec9.tar.gz
gdb-36aa5e41a20700ef558dc5d8362653ea1c8a4ec9.tar.bz2
2005-05-23 Andrew Cagney <cagney@gnu.org>
* auxv.h (target_auxv_read, procfs_xfer_auxv) (target_auxv_parse): Use gdb_byte for byte buffer parameters. * auxv.c (target_auxv_read, procfs_xfer_auxv, target_auxv_parse) (target_auxv_search, fprint_target_auxv): Update.
Diffstat (limited to 'gdb/auxv.h')
-rw-r--r--gdb/auxv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/auxv.h b/gdb/auxv.h
index 4ce0569..899fc5a 100644
--- a/gdb/auxv.h
+++ b/gdb/auxv.h
@@ -35,14 +35,14 @@ struct target_ops; /* Forward declaration. */
stored in *DATA. Return the size in bytes of this data.
If zero, there is no data and *DATA is null.
if < 0, there was an error and *DATA is null. */
-extern LONGEST target_auxv_read (struct target_ops *ops, char **data);
+extern LONGEST target_auxv_read (struct target_ops *ops, gdb_byte **data);
/* Read one auxv entry from *READPTR, not reading locations >= ENDPTR.
Return 0 if *READPTR is already at the end of the buffer.
Return -1 if there is insufficient buffer for a whole entry.
Return 1 if an entry was read into *TYPEP and *VALP. */
extern int target_auxv_parse (struct target_ops *ops,
- char **readptr, char *endptr,
+ gdb_byte **readptr, gdb_byte *endptr,
CORE_ADDR *typep, CORE_ADDR *valp);
/* Extract the auxiliary vector entry with a_type matching MATCH.
@@ -66,8 +66,8 @@ extern int fprint_target_auxv (struct ui_file *file, struct target_ops *ops);
extern LONGEST procfs_xfer_auxv (struct target_ops *ops,
int /* enum target_object */ object,
const char *annex,
- void *readbuf,
- const void *writebuf,
+ gdb_byte *readbuf,
+ const gdb_byte *writebuf,
ULONGEST offset,
LONGEST len);