* TeamMemoryBlock: Now stores whether or not the block it represents is writable.
* RetrieveMemoryBlockJob: Make use of get_memory_properties() to retrieve the block's protection bits and mark it appropriately. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42132 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1338,7 +1338,8 @@ TeamDebugger::_HandleInspectAddress(target_addr_t address,
|
||||
// schedule the job
|
||||
status_t result;
|
||||
if ((result = fWorker->ScheduleJob(
|
||||
new(std::nothrow) RetrieveMemoryBlockJob(memory, memoryBlock),
|
||||
new(std::nothrow) RetrieveMemoryBlockJob(fTeam, memory,
|
||||
memoryBlock),
|
||||
this)) != B_OK) {
|
||||
memoryBlock->ReleaseReference();
|
||||
_NotifyUser("Inspect Address", "Failed to retrieve memory data: %s",
|
||||
|
||||
Reference in New Issue
Block a user