summaryrefslogtreecommitdiff
path: root/gdb/corefile.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@redback.com>2000-05-20 10:29:51 +0000
committerJ.T. Conklin <jtc@redback.com>2000-05-20 10:29:51 +0000
commit1889c4b15852fd6fb76df5e40a606b94a338e1d2 (patch)
tree7f23c049beac0d13722af4c1b88e7e6d58beaa6f /gdb/corefile.c
parentfc534ba22431ad12dfb4d8859058e4835f002b62 (diff)
downloadgdb-1889c4b15852fd6fb76df5e40a606b94a338e1d2.tar.gz
* target.h (target_memory_bfd_section): Removed declaration.
* target.c (target_memory_bfd_section): Removed. * exec.c (xfer_memory): Removed #if'ed-out code which referenced target_memory_bfd_section. * target.h (target_read_memory_section): Removed declaration. * target.c (target_read_memory_section): Removed. (target_xfer_memory): Update, removed bfd_section argument. (target_read_string, target_read_memory, target_write_memory): Update for above change. * gdbcore.h (read_memory_section): Removed declaration. * corefile.c (read_memory_section): Removed. * jv-lang.c (get_java_utf8_name): Changed calls to read_memory_section to read_memory. * printcmd.c (printf_command): Likewise. * valops.c (value_at, value_fetch_lazy): Likewise.
Diffstat (limited to 'gdb/corefile.c')
-rw-r--r--gdb/corefile.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/corefile.c b/gdb/corefile.c
index 4d11cbdcdf7..ccf439eacc1 100644
--- a/gdb/corefile.c
+++ b/gdb/corefile.c
@@ -270,21 +270,7 @@ read_memory (memaddr, myaddr, len)
memory_error (status, memaddr);
}
-void
-read_memory_section (memaddr, myaddr, len, bfd_section)
- CORE_ADDR memaddr;
- char *myaddr;
- int len;
- asection *bfd_section;
-{
- int status;
- status = target_read_memory_section (memaddr, myaddr, len, bfd_section);
- if (status != 0)
- memory_error (status, memaddr);
-}
-
/* Like target_read_memory, but slightly different parameters. */
-
int
dis_asm_read_memory (memaddr, myaddr, len, info)
bfd_vma memaddr;