diff options
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r-- | gdb/linux-nat.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 2c64d5db9f8..e996dc264ae 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -2326,8 +2326,9 @@ linux_nat_mourn_inferior (void) } static int -linux_nat_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write, - struct mem_attrib *attrib, struct target_ops *target) +linux_nat_xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len, + int write, struct mem_attrib *attrib, + struct target_ops *target) { struct cleanup *old_chain = save_inferior_ptid (); int xfer; @@ -2621,7 +2622,7 @@ linux_nat_make_corefile_notes (bfd *obfd, int *note_size) char psargs[80] = { '\0' }; char *note_data = NULL; ptid_t current_ptid = inferior_ptid; - char *auxv; + gdb_byte *auxv; int auxv_len; if (get_exec_file (0)) |