aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-05-28 16:44:29 +0000
committerDaniel Jacobowitz <drow@false.org>2005-05-28 16:44:29 +0000
commitc6826062e510add65c65379ed490b4eedfa71620 (patch)
tree7ac065a57438963fd10ea479eefaa1ae83fe17f2 /gdb/linux-nat.c
parent36527912614edf28be9ce9ff552090bdd20d67b4 (diff)
downloadgdb-c6826062e510add65c65379ed490b4eedfa71620.zip
gdb-c6826062e510add65c65379ed490b4eedfa71620.tar.gz
gdb-c6826062e510add65c65379ed490b4eedfa71620.tar.bz2
* 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.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c7
1 files changed, 4 insertions, 3 deletions
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))