diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-08-09 16:35:45 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-08-09 16:35:45 +0000 |
commit | 8e70166dc52cf82a61e0a414f364f3ff7c45dfa7 (patch) | |
tree | a0627b1f2464d595d1f921864bf63302783a66a0 /gdb/linux-nat.c | |
parent | 2f6178c175ba113600c532b8fc84e8d54beddb78 (diff) | |
download | gdb-8e70166dc52cf82a61e0a414f364f3ff7c45dfa7.zip gdb-8e70166dc52cf82a61e0a414f364f3ff7c45dfa7.tar.gz gdb-8e70166dc52cf82a61e0a414f364f3ff7c45dfa7.tar.bz2 |
2005-08-09 Andrew Cagney <cagney@gnu.org>
* linux-nat.h (linux_proc_xfer_memory): Change type of "myaddr" a
"gdb_byte" pointer.
* linux-nat.c (linux_proc_xfer_memory): Update.
(get_signo): Cast signo to a "gdb_byte" pointer.
* i386-linux-nat.c (child_resume): Make "buf" a gdb_byte, delete
redundant casts.
(child_resume): Cast eflags to a "gdb_byte" pointer.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r-- | gdb/linux-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index e996dc2..3c28219 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -2946,7 +2946,7 @@ linux_nat_info_proc_cmd (char *args, int from_tty) } int -linux_proc_xfer_memory (CORE_ADDR addr, char *myaddr, int len, int write, +linux_proc_xfer_memory (CORE_ADDR addr, gdb_byte *myaddr, int len, int write, struct mem_attrib *attrib, struct target_ops *target) { int fd, ret; @@ -3128,7 +3128,7 @@ get_signo (const char *name) if (ms == NULL) return 0; - if (target_read_memory (SYMBOL_VALUE_ADDRESS (ms), (char *) &signo, + if (target_read_memory (SYMBOL_VALUE_ADDRESS (ms), (gdb_byte *) &signo, sizeof (signo)) != 0) return 0; |