Eclipse CDT
7.0

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

All Known Subinterfaces:
ICDIMemoryBlockManagement2, ICDITarget, ICDITarget2

public interface ICDIMemoryBlockManagement

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


Method Summary
 ICDIMemoryBlock createMemoryBlock(java.lang.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(java.lang.String address,
                                  int units,
                                  int wordSize)
                                  throws CDIException
Returns a memory block specified by given identifier.

Parameters:
address -
units - - number of bytes
wordSize - - this parameter has been deprecated in 4.0 and will always be passed as the value 1. If the memory has an addressable size (number of bytes per address) greather than 1, the CDI client should take care not to return the value of wordSize we pass in here, but rather return the actual addressable size for that memory.
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
7.0

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