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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user