aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>2000-05-20 10:29:51 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>2000-05-20 10:29:51 +0000
commitd4b2399a9c2702d7b6ed31df1187fd7eef4e0ffb (patch)
tree225c7832036569b4b3f1b77ea30fda1844c9957d /gdb/valops.c
parentb8166459e1d5980cef72c952352889e9cc6f8c02 (diff)
downloadgdb-d4b2399a9c2702d7b6ed31df1187fd7eef4e0ffb.zip
gdb-d4b2399a9c2702d7b6ed31df1187fd7eef4e0ffb.tar.gz
gdb-d4b2399a9c2702d7b6ed31df1187fd7eef4e0ffb.tar.bz2
* 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/valops.c')
-rw-r--r--gdb/valops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 710c2be..14e9294 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -465,7 +465,7 @@ value_at (type, addr, sect)
store_address (VALUE_CONTENTS_RAW (val), 4, num);
}
else
- read_memory_section (addr, VALUE_CONTENTS_ALL_RAW (val), TYPE_LENGTH (type), sect);
+ read_memory (addr, VALUE_CONTENTS_ALL_RAW (val), TYPE_LENGTH (type));
VALUE_LVAL (val) = lval_memory;
VALUE_ADDRESS (val) = addr;
@@ -540,8 +540,8 @@ value_fetch_lazy (val)
store_address (VALUE_CONTENTS_RAW (val), 4, num);
}
else if (length)
- read_memory_section (addr, VALUE_CONTENTS_ALL_RAW (val), length,
- VALUE_BFD_SECTION (val));
+ read_memory (addr, VALUE_CONTENTS_ALL_RAW (val), length);
+
VALUE_LAZY (val) = 0;
return 0;
}