aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-es.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-18 15:55:53 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-18 15:55:53 +0000
commit4efb68b1ad0f40fa002c954c213a516d1e39cfb3 (patch)
treedd698b5a588dd03316e6d392016860ebd132cef6 /gdb/remote-es.c
parent88e90c405f7b96dc90b19bde321f219e129e7e1c (diff)
downloadbinutils-4efb68b1ad0f40fa002c954c213a516d1e39cfb3.zip
binutils-4efb68b1ad0f40fa002c954c213a516d1e39cfb3.tar.gz
binutils-4efb68b1ad0f40fa002c954c213a516d1e39cfb3.tar.bz2
2003-01-18 Andrew Cagney <ac131313@redhat.com>
* ada-valprint.c: Eliminate PTR. * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
Diffstat (limited to 'gdb/remote-es.c')
-rw-r--r--gdb/remote-es.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote-es.c b/gdb/remote-es.c
index 72e6171..39e50ff 100644
--- a/gdb/remote-es.c
+++ b/gdb/remote-es.c
@@ -1355,20 +1355,20 @@ bfd_copy (bfd *from_bfd, bfd *to_bfd)
for (i = 0; (i + NUMCPYBYTES) < p->_cooked_size; i += NUMCPYBYTES)
{
- if (!bfd_get_section_contents (from_bfd, p, (PTR) buf, (file_ptr) i,
+ if (!bfd_get_section_contents (from_bfd, p, buf, (file_ptr) i,
(bfd_size_type) NUMCPYBYTES))
{
error ("bfd_get_section_contents\n");
}
- if (!bfd_set_section_contents (to_bfd, new, (PTR) buf, (file_ptr) i,
+ if (!bfd_set_section_contents (to_bfd, new, buf, (file_ptr) i,
(bfd_size_type) NUMCPYBYTES))
{
error ("bfd_set_section_contents\n");
}
}
- bfd_get_section_contents (from_bfd, p, (PTR) buf, (file_ptr) i,
+ bfd_get_section_contents (from_bfd, p, buf, (file_ptr) i,
(bfd_size_type) (p->_cooked_size - i));
- bfd_set_section_contents (to_bfd, new, (PTR) buf, (file_ptr) i,
+ bfd_set_section_contents (to_bfd, new, buf, (file_ptr) i,
(bfd_size_type) (p->_cooked_size - i));
}
}