Actually copy the data to be written into the message.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39848 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent
2010-12-14 13:16:44 +00:00
parent 8fb7eb8b17
commit 68258fd9d0
+1
View File
@@ -235,6 +235,7 @@ debug_write_memory_partial(debug_context *context, const void *address,
message.reply_port = context->reply_port;
message.address = (void*)address;
message.size = size;
memcpy(message.data, buffer, size);
// send the message
debug_nub_write_memory_reply reply;