1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

Bug 384632 - Missing change mark in the Memory view

Change-Id: I8d0a8ade47c0e16eb4f938bb78407d8707c156eb
Reviewed-on: https://git.eclipse.org/r/6681
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
Mikhail Khodjaiants 2012-07-09 13:16:30 -04:00
parent d514c8e8d4
commit e6fb010b4f

View file

@ -391,8 +391,8 @@ public class DsfMemoryBlock extends PlatformObject implements IMemoryBlockExtens
for (int i = 0; i < length; i++) {
if ( i < newLength ) {
newBlock[i].setFlags(fBlock[distance + i].getFlags());
newBlock[i].setHistoryKnown(true);
if (newBlock[i].getValue() != fBlock[distance + i].getValue()) {
newBlock[i].setHistoryKnown(true);
newBlock[i].setChanged(true);
}
}
@ -477,8 +477,8 @@ public class DsfMemoryBlock extends PlatformObject implements IMemoryBlockExtens
for (int i = 0; i < length; i++) {
if ( (distance + i) < newLength ) {
newBlock[distance + i].setFlags(fBlock[i].getFlags());
newBlock[distance + i].setHistoryKnown(true);
if (newBlock[distance + i].getValue() != fBlock[i].getValue()) {
newBlock[distance + i].setHistoryKnown(true);
newBlock[distance + i].setChanged(true);
}
}