Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Cortell2006-11-17 20:48:04 +0000
committerJohn Cortell2006-11-17 20:48:04 +0000
commitf9e33d53fcb53718bc252ef72be8b4068b357296 (patch)
treef6ad14a9950cbe25f436f43f0f31955c687ceee6
parentdc0cd6d731b1e0b838fa2e0f234e9d9d5fb8fbdc (diff)
downloadorg.eclipse.cdt-f9e33d53fcb53718bc252ef72be8b4068b357296.tar.gz
org.eclipse.cdt-f9e33d53fcb53718bc252ef72be8b4068b357296.tar.xz
org.eclipse.cdt-f9e33d53fcb53718bc252ef72be8b4068b357296.zip
Fixed bug 165042: CMemoryBlockRetrievalExtension.getMemoryBlock constructs a malformed hex expression
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CMemoryBlockRetrievalExtension.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CMemoryBlockRetrievalExtension.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CMemoryBlockRetrievalExtension.java
index ae66020261..c5ea28670a 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CMemoryBlockRetrievalExtension.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CMemoryBlockRetrievalExtension.java
@@ -196,7 +196,7 @@ public class CMemoryBlockRetrievalExtension extends PlatformObject implements IM
public IMemoryBlock getMemoryBlock( long startAddress, long length ) throws DebugException {
String expression = Long.toHexString(startAddress);
BigInteger address = new BigInteger(expression, 16);
- expression += "0x"; //$NON-NLS-1$
+ expression = "0x" + expression; //$NON-NLS-1$
return new CMemoryBlockExtension( getDebugTarget(), expression, address );
}

Back to the top