summaryrefslogtreecommitdiff
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
commitb7fa3e4a976e6e6f585d6e858c9d5e42c9f06b86 (patch)
tree3dd7e6507d51c5b1f6379779e2f27596a51fd970 /gdb/auxv.h
parentf23e3de1b8f0c4b1d75d0279c7f1a5050bac8aa2 (diff)
downloadgdb-b7fa3e4a976e6e6f585d6e858c9d5e42c9f06b86.tar.gz
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 4ce0569a591..899fc5af90f 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);