Reading memory is more handy, if it allows for partial reads. So now the size is returned with the reply.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11624 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -148,6 +148,8 @@ typedef struct {
|
|||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
status_t error; // B_OK, if reading went fine
|
status_t error; // B_OK, if reading went fine
|
||||||
|
int32 size; // the number of bytes actually read
|
||||||
|
// > 0, iff error == B_OK
|
||||||
char data[B_MAX_READ_WRITE_MEMORY_SIZE];
|
char data[B_MAX_READ_WRITE_MEMORY_SIZE];
|
||||||
// the read data
|
// the read data
|
||||||
} debug_nub_read_memory_reply;
|
} debug_nub_read_memory_reply;
|
||||||
|
|||||||
Reference in New Issue
Block a user