aboutsummaryrefslogtreecommitdiff
path: root/gdb/target-memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target-memory.c')
-rw-r--r--gdb/target-memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target-memory.c b/gdb/target-memory.c
index f77451a..4dfe7b3 100644
--- a/gdb/target-memory.c
+++ b/gdb/target-memory.c
@@ -393,7 +393,7 @@ target_write_memory_blocks (VEC(memory_write_request_s) *requests,
{
LONGEST len;
- len = target_write_with_progress (&current_target,
+ len = target_write_with_progress (current_target.beneath,
TARGET_OBJECT_MEMORY, NULL,
r->data, r->begin, r->end - r->begin,
progress_cb, r->baton);