1
0
Fork 0
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:
Alain Magloire 2002-11-01 16:43:24 +00:00
parent acd6a6b567
commit e27b80d2b5

View file

@ -56,7 +56,7 @@ public class MemoryManager extends SessionObject implements ICDIMemoryManager {
/**
* 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);
Long[] array = compareBlocks(block, newBlock);
// Update the block MIDataReadMemoryInfo.
@ -69,6 +69,7 @@ public class MemoryManager extends SessionObject implements ICDIMemoryManager {
mi.fireEvent(new MIMemoryChangedEvent(array));
}
}
return array;
}
/**