diff options
Diffstat (limited to 'debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemorySpaceManagement.java')
-rw-r--r-- | debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemorySpaceManagement.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemorySpaceManagement.java b/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemorySpaceManagement.java index f3c315750cd..9a435b72b48 100644 --- a/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemorySpaceManagement.java +++ b/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemorySpaceManagement.java @@ -12,6 +12,8 @@ package org.eclipse.cdt.debug.core.cdi.model; import java.math.BigInteger; +import org.eclipse.cdt.debug.core.cdi.CDIException; + /** * The memory space manager provides varous memory-space related operations. * The backend implementation of ICDITarget should implement this interface @@ -31,6 +33,16 @@ public interface ICDIMemorySpaceManagement extends ICDIObject { String addressToString(BigInteger address, String memorySpaceID); /** + * The inverse of addressToString + * + * @param str - the encoded string (contains memory space + hex address value) + * @param memorySpaceID_out the memory space ID + * @return the BigInteger part of str; client should return null if the default decoding provided + * by CDT is sufficient (<memory-space-id>:<address(hex)>) + */ + BigInteger stringToAddress(String str, StringBuffer memorySpaceID_out) throws CDIException; + + /** * Provides the memory spaces available. * * @return an array of memory space identifiers |