mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Update() returns the addresses.
This commit is contained in:
parent
acd6a6b567
commit
e27b80d2b5
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,7 @@ public class MemoryManager extends SessionObject implements ICDIMemoryManager {
|
||||||
/**
|
/**
|
||||||
* update one Block.
|
* update one Block.
|
||||||
*/
|
*/
|
||||||
public void update(MemoryBlock block, List aList) throws CDIException {
|
public Long[] update(MemoryBlock block, List aList) throws CDIException {
|
||||||
MemoryBlock newBlock = cloneBlock(block);
|
MemoryBlock newBlock = cloneBlock(block);
|
||||||
Long[] array = compareBlocks(block, newBlock);
|
Long[] array = compareBlocks(block, newBlock);
|
||||||
// Update the block MIDataReadMemoryInfo.
|
// Update the block MIDataReadMemoryInfo.
|
||||||
|
@ -69,6 +69,7 @@ public class MemoryManager extends SessionObject implements ICDIMemoryManager {
|
||||||
mi.fireEvent(new MIMemoryChangedEvent(array));
|
mi.fireEvent(new MIMemoryChangedEvent(array));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return array;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue