From c6826062e510add65c65379ed490b4eedfa71620 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sat, 28 May 2005 16:44:29 +0000 Subject: * dwarf2-frame.c (dwarf2_frame_prev_register): Use gdb_byte. * i386-linux-nat.c (fetch_register, store_register, supply_gregset) (fill_gregset): Likewise. * i386-tdep.c (i386_frame_prev_register) (i386_sigtramp_frame_prev_register): Likewise. * linux-nat.c (linux_nat_xfer_memory, linux_nat_make_corefile_notes): Likewise. * linux-thread-db.c (thread_db_xfer_memory): Likewise. * remote.c (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise. * target.c (debug_to_insert_hw_breakpoint) (debug_to_remove_hw_breakpoint, update_current_target): Likewise. --- gdb/linux-nat.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gdb/linux-nat.c') diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 2c64d5d..e996dc2 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)) -- cgit v1.1