mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Fixed bug 165042: CMemoryBlockRetrievalExtension.getMemoryBlock constructs a malformed hex expression
This commit is contained in:
parent
7395254810
commit
df6b9c604b
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ public class CMemoryBlockRetrievalExtension extends PlatformObject implements IM
|
||||||
public IMemoryBlock getMemoryBlock( long startAddress, long length ) throws DebugException {
|
public IMemoryBlock getMemoryBlock( long startAddress, long length ) throws DebugException {
|
||||||
String expression = Long.toHexString(startAddress);
|
String expression = Long.toHexString(startAddress);
|
||||||
BigInteger address = new BigInteger(expression, 16);
|
BigInteger address = new BigInteger(expression, 16);
|
||||||
expression += "0x"; //$NON-NLS-1$
|
expression = "0x" + expression; //$NON-NLS-1$
|
||||||
return new CMemoryBlockExtension( getDebugTarget(), expression, address );
|
return new CMemoryBlockExtension( getDebugTarget(), expression, address );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue