Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.debug.core.cdi.model
Interface ICDIMemoryBlockManagement

All Known Subinterfaces:
ICDITarget

public interface ICDIMemoryBlockManagement

The memory manager manages the collection of memory blocks specified for the debug session. ICDIMemoryBlockManagement


Method Summary
 ICDIMemoryBlock createMemoryBlock(String address, int units, int wordSize)
          Returns a memory block specified by given identifier.
 ICDIMemoryBlock[] getMemoryBlocks()
          Returns an array of all memory blocks set for this debug session.
 void removeAllBlocks()
          Removes all memory blocks from the debug session.
 void removeBlocks(ICDIMemoryBlock[] memoryBlocks)
          Removes the given array of memory blocks from the debug session.
 

Method Detail

createMemoryBlock

ICDIMemoryBlock createMemoryBlock(String address,
                                  int units,
                                  int wordSize)
                                  throws CDIException
Returns a memory block specified by given identifier.

Parameters:
address -
units - - number of units
wordSize - - The size of each memory word in bytes
Returns:
a memory block with the specified identifier
Throws:
CDIException - on failure. Reasons include:

removeBlocks

void removeBlocks(ICDIMemoryBlock[] memoryBlocks)
                  throws CDIException
Removes the given array of memory blocks from the debug session.

Parameters:
memoryBlock - - the array of memory blocks to be removed
Throws:
CDIException - on failure. Reasons include:

removeAllBlocks

void removeAllBlocks()
                     throws CDIException
Removes all memory blocks from the debug session.

Throws:
CDIException - on failure. Reasons include:

getMemoryBlocks

ICDIMemoryBlock[] getMemoryBlocks()
                                  throws CDIException
Returns an array of all memory blocks set for this debug session.

Returns:
an array of all memory blocks set for this debug session
Throws:
CDIException - on failure. Reasons include:

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.