Skip to main content
summaryrefslogtreecommitdiffstats
path: root/memory
diff options
context:
space:
mode:
authorJohn Cortell2011-03-29 11:13:34 -0400
committerJohn Cortell2011-03-29 11:13:34 -0400
commit79a13f0c7025a9ce7c8dd3395e5623db0be3fda3 (patch)
tree083d1da7882324f53660ab092e45b582fde27591 /memory
parentf5b0005a75fd8d3f08f806b6635aa8e4b9082001 (diff)
downloadorg.eclipse.cdt-79a13f0c7025a9ce7c8dd3395e5623db0be3fda3.tar.gz
org.eclipse.cdt-79a13f0c7025a9ce7c8dd3395e5623db0be3fda3.tar.xz
org.eclipse.cdt-79a13f0c7025a9ce7c8dd3395e5623db0be3fda3.zip
Bug 341245 - Importing binary file larger than 1024 bytes works incorrectly
Diffstat (limited to 'memory')
-rw-r--r--memory/org.eclipse.cdt.debug.ui.memory.transport/src/org/eclipse/cdt/debug/ui/memory/transport/RAWBinaryImporter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/memory/org.eclipse.cdt.debug.ui.memory.transport/src/org/eclipse/cdt/debug/ui/memory/transport/RAWBinaryImporter.java b/memory/org.eclipse.cdt.debug.ui.memory.transport/src/org/eclipse/cdt/debug/ui/memory/transport/RAWBinaryImporter.java
index 386403e6a5..7aa1bd8686 100644
--- a/memory/org.eclipse.cdt.debug.ui.memory.transport/src/org/eclipse/cdt/debug/ui/memory/transport/RAWBinaryImporter.java
+++ b/memory/org.eclipse.cdt.debug.ui.memory.transport/src/org/eclipse/cdt/debug/ui/memory/transport/RAWBinaryImporter.java
@@ -295,7 +295,7 @@ public class RAWBinaryImporter implements IMemoryImporter {
BigInteger jobCount = BigInteger.valueOf(actualByteCount).divide(factor);
monitor.worked(jobCount.intValue());
- recordAddress.add(BigInteger.valueOf(actualByteCount));
+ recordAddress = recordAddress.add(BigInteger.valueOf(actualByteCount));
actualByteCount = reader.read(byteValues);
}

Back to the top