PTP
Release 7.0

org.eclipse.ptp.debug.core.pdi.manager
Interface IPDIMemoryManager

All Superinterfaces:
IPDIManager, IPDISessionObject, IPDISet

public interface IPDIMemoryManager
extends IPDIManager

Represent memory manager to manage memory


Method Summary
 IPDIMemoryBlock createMemoryBlock(TaskSet qTasks, String address, int units, int wordSize)
          Returns a memory block specified by given identifier.
 IPDIMemoryBlock[] getMemoryBlocks(TaskSet qTasks)
          Returns an array of all memory blocks set for this debug session.
 void removeAllBlocks(TaskSet tasks)
          Requests to remove all memory blocks from the debug session.
 void removeBlocks(TaskSet tasks, IPDIMemoryBlock[] memoryBlocks)
          Requests to remove the given array of memory blocks from the debug session.
 BigInteger[] update(IPDIMemoryBlock block, List<IPDIEvent> aList)
          Update memory blocks
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.manager.IPDIManager
isAutoUpdate, setAutoUpdate, shutdown, update
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISessionObject
getSession
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISet
getTasks
 

Method Detail

createMemoryBlock

IPDIMemoryBlock createMemoryBlock(TaskSet qTasks,
                                  String address,
                                  int units,
                                  int wordSize)
                                  throws PDIException
Returns a memory block specified by given identifier.

Parameters:
qTasks - target process
address -
units - - number of bytes
wordSize - - this parameter has been deprecated 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 PDI client should take care not to
Returns:
a memory block with the specified identifier
Throws:
PDIException - on failure
Since:
4.0

getMemoryBlocks

IPDIMemoryBlock[] getMemoryBlocks(TaskSet qTasks)
                                  throws PDIException
Returns an array of all memory blocks set for this debug session.

Parameters:
qTasks - target process
Returns:
an array of all memory blocks set for this debug session
Throws:
PDIException - on failure
Since:
4.0

removeAllBlocks

void removeAllBlocks(TaskSet tasks)
                     throws PDIException
Requests to remove all memory blocks from the debug session.

Parameters:
tasks - target process
Throws:
PDIException - on failure
Since:
4.0

removeBlocks

void removeBlocks(TaskSet tasks,
                  IPDIMemoryBlock[] memoryBlocks)
                  throws PDIException
Requests to remove the given array of memory blocks from the debug session.

Parameters:
tasks - target process
memoryBlock - - the array of memory blocks to be removed
Throws:
PDIException - on failure
Since:
4.0

update

BigInteger[] update(IPDIMemoryBlock block,
                    List<IPDIEvent> aList)
                    throws PDIException
Update memory blocks

Parameters:
block -
aList -
Returns:
Throws:
PDIException

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.